diff options
author | bapt <bapt@FreeBSD.org> | 2013-10-20 00:03:48 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-10-20 00:03:48 +0800 |
commit | 79a33d8b69b4bfd5bf452ee09b31f009bfeed2c9 (patch) | |
tree | 452eb61c48984b931bb87fe58be7df455c74e436 /multimedia/ogmtools | |
parent | c4382278ee12ef8fb9a9bf067b1fba8013826bf6 (diff) | |
download | freebsd-ports-gnome-79a33d8b69b4bfd5bf452ee09b31f009bfeed2c9.tar.gz freebsd-ports-gnome-79a33d8b69b4bfd5bf452ee09b31f009bfeed2c9.tar.zst freebsd-ports-gnome-79a33d8b69b4bfd5bf452ee09b31f009bfeed2c9.zip |
Enable stage
Use options helpers
Diffstat (limited to 'multimedia/ogmtools')
-rw-r--r-- | multimedia/ogmtools/Makefile | 28 | ||||
-rw-r--r-- | multimedia/ogmtools/pkg-plist | 6 |
2 files changed, 14 insertions, 20 deletions
diff --git a/multimedia/ogmtools/Makefile b/multimedia/ogmtools/Makefile index d533b68f117e..6be83b637184 100644 --- a/multimedia/ogmtools/Makefile +++ b/multimedia/ogmtools/Makefile @@ -10,20 +10,24 @@ MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Tools to extract from/get info about/create OGG media streams -LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \ --with-vorbis-prefix=${LOCALBASE} -MAN1= ogmcat.1 ogmdemux.1 ogminfo.1 ogmmerge.1 ogmsplit.1 - OPTIONS_DEFINE= DVDREAD OPTIONS_DEFAULT= DVDREAD DVDREAD_DESC= DVD title chapter extraction via libdvdread -NO_STAGE= yes +DVDREAD_LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread +DVDREAD_CONFIGURE_ON= --with-dvdread \ + --with-dvdread-includes=${LOCALBASE} \ + --with-dvdread-libs=${LOCALBASE} +DVDREAD_CONFIGURE_OFF= --without-dvdread +OPTIONS_SUB= yes + post-patch: # disable GNU auto* tools @${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \ @@ -46,20 +50,4 @@ post-configure: 's!malloc.h!stdlib.h!; \ s|stdint.h|inttypes.h|' -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDVDREAD} -LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread - -CONFIGURE_ARGS+= --with-dvdread \ - --with-dvdread-includes=${LOCALBASE} \ - --with-dvdread-libs=${LOCALBASE} -PLIST_SUB+= DVDREAD="" - -MAN1+= dvdxchap.1 -.else -CONFIGURE_ARGS+= --without-dvdread -PLIST_SUB+= DVDREAD="@comment " -.endif - .include <bsd.port.mk> diff --git a/multimedia/ogmtools/pkg-plist b/multimedia/ogmtools/pkg-plist index 0f0745269cf1..cd00efbc61d8 100644 --- a/multimedia/ogmtools/pkg-plist +++ b/multimedia/ogmtools/pkg-plist @@ -4,3 +4,9 @@ bin/ogmdemux bin/ogminfo bin/ogmmerge bin/ogmsplit +man/man1/ogmcat.1.gz +man/man1/ogmdemux.1.gz +man/man1/ogminfo.1.gz +man/man1/ogmmerge.1.gz +man/man1/ogmsplit.1.gz +%%DVDREAD%%man/man1/dvdxchap.1.gz |