1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Chase MASTER_SITE, use OPTIONS while here

Noticed by: fenner's magical distfile survey
This commit is contained in:
Volker Stolz 2005-10-17 12:45:26 +00:00
parent b3763ef534
commit 22104cbac8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145655
2 changed files with 10 additions and 20 deletions

View File

@ -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>

View File

@ -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