Annotation of pkgsrc/multimedia/smpeg/Makefile, Revision 1.25
1.25 ! hans 1: # $NetBSD: Makefile,v 1.24 2011/04/22 14:40:44 obache Exp $
1.1 grant 2: #
3:
4: DISTNAME= smpeg-0.4.4
1.24 obache 5: PKGREVISION= 15
1.1 grant 6: CATEGORIES= devel multimedia
1.21 obache 7: MASTER_SITES= #
1.1 grant 8:
1.23 wiz 9: MAINTAINER= pkgsrc-users@NetBSD.org
1.1 grant 10: HOMEPAGE= http://www.lokigames.com/development/smpeg.php3
11: COMMENT= SDL MPEG Player Library
1.22 heinz 12: LICENSE= gnu-lgpl-v2
1.1 grant 13:
1.19 heinz 14: PKG_DESTDIR_SUPPORT= user-destdir
1.1 grant 15: PKG_INSTALLATION_TYPES= overwrite pkgviews
16:
1.7 jlam 17: USE_TOOLS+= gmake
1.1 grant 18: GNU_CONFIGURE= yes
1.16 rillig 19: USE_LANGUAGES= c c++
1.1 grant 20: USE_LIBTOOL= yes
21:
22: CPPFLAGS+= -Dunix=1
23:
1.9 jlam 24: # smpeg sources (glmovie.c & glmovie-tile.c) assume <malloc.h> exists.
25: # Create a fake one for platforms that don't have it.
26: #
27: post-wrapper:
28: if ${TEST} ! -f /usr/include/malloc.h; then \
29: ${ECHO} "#include <stdlib.h>" \
30: > ${BUILDLINK_DIR}/include/malloc.h; \
31: fi
32:
1.20 schmonz 33: .include "../../mk/bsd.prefs.mk"
34:
35: .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
1.12 xtraeme 36: CONFIGURE_ARGS+= --enable-mmx
37: .endif
38:
1.25 ! hans 39: .if ${OPSYS} == "SunOS"
! 40: MAKE_ENV+= SunOS_LDFLAGS="-shared -mimpure-text"
! 41: .endif
! 42:
1.12 xtraeme 43: .include "options.mk"
1.11 grant 44: .include "../../devel/SDL/buildlink3.mk"
1.1 grant 45: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>