diff options
author | martymac <martymac@FreeBSD.org> | 2013-11-15 20:49:06 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2013-11-15 20:49:06 +0800 |
commit | 9cff20c4f6a9dd2afc8df01884452a0241e6529d (patch) | |
tree | 9810739643073dec19a67bfee84d87c1e9696b7e | |
parent | 7f1e146a106cfaf642da8bdd43c72f71b069307a (diff) | |
download | freebsd-ports-gnome-9cff20c4f6a9dd2afc8df01884452a0241e6529d.tar.gz freebsd-ports-gnome-9cff20c4f6a9dd2afc8df01884452a0241e6529d.tar.zst freebsd-ports-gnome-9cff20c4f6a9dd2afc8df01884452a0241e6529d.zip |
- Enable staging
- Switch to new LIB_DEPENDS format
- Replace USE_GMAKE with proper USES value
- Switch to new options format
-rw-r--r-- | multimedia/libdvdnav/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile index bd4f6db65794..952e1ae59cce 100644 --- a/multimedia/libdvdnav/Makefile +++ b/multimedia/libdvdnav/Makefile @@ -15,7 +15,7 @@ COMMENT= MPlayer version of the libdvdnav project LICENSE= GPLv2 -LIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread +LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread USE_BZIP2= yes HAS_CONFIGURE= yes @@ -27,23 +27,16 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \ --incdir="${PREFIX}/include/dvdnav" \ --disable-opts \ --cc="${CC}" -USE_GMAKE= yes +USES= gmake CONFLICTS= libdvdnav-mplayer-[0-9]* USE_LDCONFIG= yes OPTIONS_DEFINE= DEBUG - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug --disable-strip -.else -CONFIGURE_ARGS+= --disable-debug -.endif +DEBUG_CONFIGURE_ON= --enable-debug --disable-strip +DEBUG_CONFIGURE_OFF= --disable-debug --enable-strip post-patch: @${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \ ${WRKSRC}/configure2 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |