aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 12:35:50 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 12:35:50 +0000
commitdba80fffe43da11d0a331d26ff47ad47939db729 (patch)
tree94d53c5c905021f480b1c80529f6919181c4c73b /audio/mp3c
parent9e20b44c8053a22656f664d6c0e3ba06708a98b5 (diff)
downloadports-dba80fffe43da11d0a331d26ff47ad47939db729.tar.gz
ports-dba80fffe43da11d0a331d26ff47ad47939db729.zip
Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone. This macros also lead to badly handled dependencies assuming that the dependency on cdrtools was most BUILD and RUN dependency. While most of the time it is simply a RUN dependency and sometime a build one. While here: - Trim some headers - Convert some ports to optionsng - Convert some ports to USES= gettext
Notes
Notes: svn path=/head/; revision=316600
Diffstat (limited to 'audio/mp3c')
-rw-r--r--audio/mp3c/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/audio/mp3c/Makefile b/audio/mp3c/Makefile
index 5f01bcf01e81..30cd3c251324 100644
--- a/audio/mp3c/Makefile
+++ b/audio/mp3c/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mp3c
-# Date created: 11 Jul 2002
-# Whom: Joris Vandalon <joris@vandalon.nl>
-#
+# Created by: Joris Vandalon <joris@vandalon.nl>
# $FreeBSD$
-#
PORTNAME= mp3c
PORTVERSION= 0.31
@@ -17,21 +13,23 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= joris@vandalon.nl
COMMENT= A CD to mp3c converter with a console frontend
-RUN_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info
+RUN_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info \
+ cdrecord:${PORTSDIR}/sysutils/cdrtools
-USE_CDRTOOLS= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=${PREFIX}"
MAN1= mp3c.1
MANCOMPRESSED= no
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USES= gettext
-PLIST_SUB+= NLS=""
.endif
post-patch: