aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-26 20:35:50 +0800
committerbapt <bapt@FreeBSD.org>2013-04-26 20:35:50 +0800
commit3b719f87a14768433dc0cd06f301eeaf9c02fa43 (patch)
tree94d53c5c905021f480b1c80529f6919181c4c73b /audio/mp3c
parent6ed47115f3cf9c141188528e8863513cfade4cd8 (diff)
downloadfreebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.tar.gz
freebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.tar.zst
freebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.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
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: