summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-05-25 21:51:42 +0000
committerwiz <wiz@pkgsrc.org>2004-05-25 21:51:42 +0000
commit2d7f64ccf3f4d34608ea9aedefab907ab5d65d01 (patch)
tree3c772899ccf6de88f433a8044146c938ab7bcd05 /emulators
parentc041b228d419172107ba39ad191d134eae9a19b0 (diff)
downloadpkgsrc-2d7f64ccf3f4d34608ea9aedefab907ab5d65d01.tar.gz
Add VICE_USE_FFMPEG switch to enable ffmpeg support in vice.
Document it in bsd.pkg.defaults.mk. Defaults to "no". PKGREVISION not bumped since package does not change (by default).
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vice/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 8be0ac8dbab..c4465ff7ed9 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2004/04/24 23:34:28 snj Exp $
+# $NetBSD: Makefile,v 1.43 2004/05/25 21:51:42 wiz Exp $
#
DISTNAME= vice-1.14
@@ -29,6 +29,12 @@ USE_GCC_SHLIB= YES
INFO_FILES= vice.info
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(VICE_USE_FFMPEG:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-ffmpeg
+.endif
+
# These changes are rather common, so sed instead of patch:
post-patch:
@for file in `${FIND} ${WRKSRC} -name Makefile.in -print` \
@@ -49,5 +55,8 @@ post-install:
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
+.if !empty(VICE_USE_FFMPEG:M[Yy][Ee][Ss])
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"