summaryrefslogtreecommitdiff
path: root/audio/terminatorx
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-10-17 12:45:26 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-10-17 12:45:26 +0000
commit22104cbac823f1420a21ce3185f6198f7893908a (patch)
treeaa433a15cd5e26cdc2318269b857b3d13efe3189 /audio/terminatorx
parentRemove broken port: abandoned, didn't build with latest lang/ghc (diff)
Chase MASTER_SITE, use OPTIONS while here
Noticed by: fenner's magical distfile survey
Diffstat (limited to 'audio/terminatorx')
-rw-r--r--audio/terminatorx/Makefile28
-rw-r--r--audio/terminatorx/pkg-descr2
2 files changed, 10 insertions, 20 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>
diff --git a/audio/terminatorx/pkg-descr b/audio/terminatorx/pkg-descr
index 68883aac6ea6..08a7eafa436e 100644
--- a/audio/terminatorx/pkg-descr
+++ b/audio/terminatorx/pkg-descr
@@ -7,4 +7,4 @@ effects (buit-in as well as LADSPA plugin effects), a sequencer and
an easy-to- use gtk+ GUI.
Author: Alexander Koenig <alex@lisas.de>
-WWW: http://www.terminatorx.cx
+WWW: http://www.terminatorx.org