diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 22:02:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 22:02:49 +0800 |
commit | f6b5b7767a00ac24519f12b1198aec69140c7b3f (patch) | |
tree | 9a7efad4e0099b4b4de0a71505b2f5a1ad0bd2f6 /audio/madplay | |
parent | 46e6a7c8d0128f624ea1b8d48c060b7fdddc8f76 (diff) | |
download | freebsd-ports-gnome-f6b5b7767a00ac24519f12b1198aec69140c7b3f.tar.gz freebsd-ports-gnome-f6b5b7767a00ac24519f12b1198aec69140c7b3f.tar.zst freebsd-ports-gnome-f6b5b7767a00ac24519f12b1198aec69140c7b3f.zip |
- Support staging
- Use new OPTIONS features
Diffstat (limited to 'audio/madplay')
-rw-r--r-- | audio/madplay/Makefile | 33 | ||||
-rw-r--r-- | audio/madplay/pkg-plist | 2 |
2 files changed, 10 insertions, 25 deletions
diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile index 583ed6651df1..fed72ef4923a 100644 --- a/audio/madplay/Makefile +++ b/audio/madplay/Makefile @@ -16,38 +16,21 @@ LICENSE= GPLv2 LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \ libid3tag.so:${PORTSDIR}/audio/libid3tag -WANT_GNOME= yes - GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lz ALL_TARGET= all madtime -NO_STAGE= yes - -MAN1= abxtest.1 madplay.1 - -OPTIONS_DEFINE=NLS ESOUND -OPTIONS_DEFAULT=NLS ESOUND -NO_OPTIONS_SORT=yes -TCL82_MAN_DESC= Install tcl 8.3 manpages - -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_DEFINE= NLS ESOUND +OPTIONS_DEFAULT=ESOUND +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MESOUND} -USE_GNOME+= esound -.else -CONFIGURE_ARGS+= --without-esd -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls +ESOUND_USE= GNOME=esound +ESOUND_CONFIGURE_WITH= esd post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/madtime ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/audio/madplay/pkg-plist b/audio/madplay/pkg-plist index a9ac9d3c8d50..c6a93bbb50b1 100644 --- a/audio/madplay/pkg-plist +++ b/audio/madplay/pkg-plist @@ -1,6 +1,8 @@ bin/abxtest bin/madplay bin/madtime +man/man1/abxtest.1.gz +man/man1/madplay.1.gz %%NLS%%share/locale/en/LC_MESSAGES/madplay.mo %%NLS%%share/locale/es/LC_MESSAGES/madplay.mo %%NLS%%share/locale/fr/LC_MESSAGES/madplay.mo |