diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-10-17 12:45:26 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-10-17 12:45:26 +0000 |
commit | 22104cbac823f1420a21ce3185f6198f7893908a (patch) | |
tree | aa433a15cd5e26cdc2318269b857b3d13efe3189 /audio/terminatorx/Makefile | |
parent | b3763ef53484b1c262d4a8815a2f323982e4b539 (diff) | |
download | ports-22104cbac823f1420a21ce3185f6198f7893908a.tar.gz ports-22104cbac823f1420a21ce3185f6198f7893908a.zip |
Notes
Diffstat (limited to 'audio/terminatorx/Makefile')
-rw-r--r-- | audio/terminatorx/Makefile | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/audio/terminatorx/Makefile b/audio/terminatorx/Makefile index 8e01cfc1af78..66c4e94b8548 100644 --- a/audio/terminatorx/Makefile +++ b/audio/terminatorx/Makefile @@ -8,7 +8,7 @@ PORTNAME= terminatorx PORTVERSION= 3.82 PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= http://www.terminatorx.cx/dist/ +MASTER_SITES= http://terminatorx.org/dist/ DISTNAME= terminatorX-${PORTVERSION} MAINTAINER= ports@FreeBSD.org @@ -36,6 +36,13 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ MAN1= terminatorX.1 +OPTIONS= MPG123 "mpg123 support" on \ + SOX "sox (.au) support" on \ + VORBIS "OGG Vorbis support" on \ + MAD "MPEG Audio Decoder (libmad) support" on + +.include <bsd.port.pre.mk> + .if !defined(WITHOUT_MPG123) BUILD_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 .else @@ -61,23 +68,6 @@ LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/mad CONFIGURE_ARGS+= --disable-mad .endif -pre-everything:: -.if !defined(WITHOUT_MPG123) - @${ECHO_MSG} "You can disable support for mpg123 by defining WITHOUT_MPG123." -.endif - -.if !defined(WITHOUT_SOX) - @${ECHO_MSG} "You can disable support for sox by defining WITHOUT_SOX." -.endif - -.if !defined(WITHOUT_VORBIS) - @${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS." -.endif - -.if !defined(WITHOUT_MAD) - @${ECHO_MSG} "You can disable support for mad by defining WITHOUT_MAD." -.endif - post-patch: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' @@ -110,4 +100,4 @@ do-install: ${PREFIX}/share/gnome/omf/terminatorX/terminatorX-C.omf @scrollkeeper-install -q ${PREFIX}/share/gnome/omf/terminatorX/terminatorX-C.omf 2>/dev/null || ${TRUE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |