diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-24 08:08:41 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-24 08:08:41 +0800 |
commit | e6bdf5d52f2eeafaf6fa2c5ae2bdb0b825108a4f (patch) | |
tree | 3da12d72f3c0f129969c38e21b3b0415de1719a7 /net-p2p/lopster | |
parent | 1f67400370035f893a58fca426cfc48e276d9165 (diff) | |
download | freebsd-ports-gnome-e6bdf5d52f2eeafaf6fa2c5ae2bdb0b825108a4f.tar.gz freebsd-ports-gnome-e6bdf5d52f2eeafaf6fa2c5ae2bdb0b825108a4f.tar.zst freebsd-ports-gnome-e6bdf5d52f2eeafaf6fa2c5ae2bdb0b825108a4f.zip |
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'net-p2p/lopster')
-rw-r--r-- | net-p2p/lopster/Makefile | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/net-p2p/lopster/Makefile b/net-p2p/lopster/Makefile index 0fc56647039b..342c17e38ba2 100644 --- a/net-p2p/lopster/Makefile +++ b/net-p2p/lopster/Makefile @@ -11,6 +11,9 @@ MASTER_SITES= SF \ MAINTAINER= ports@FreeBSD.org COMMENT= GTK+ client for Napster and free alternatives +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + GNU_CONFIGURE= yes USES= gmake USE_GNOME= gtk12 @@ -21,26 +24,11 @@ CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= FLAC OGG ZLIB OPTIONS_DEFAULT= FLAC OGG ZLIB -.include <bsd.port.options.mk> - -# --with-flac is on by default -.if ${PORT_OPTIONS:MFLAC} -LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac -.else -CONFIGURE_ARGS+= --without-flac -.endif - -# --with-ogg is on by default -.if ${PORT_OPTIONS:MOGG} -LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg -.else -CONFIGURE_ARGS+= --without-ogg -.endif - -# --with-zlib is on by default -.if ! ${PORT_OPTIONS:MZLIB} -CONFIGURE_ARGS+= --without-zlib -.endif +FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac +FLAC_CONFIGURE_WITH= flac +OGG_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg +OGG_CONFIGURE_WITH= ogg +ZLIB_CONFIGURE_WITH= zlib post-patch: @${REINPLACE_CMD} -e "s/www.naplist.com/www.gotnap.com/" \ |