diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 12:35:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 12:35:50 +0000 |
commit | dba80fffe43da11d0a331d26ff47ad47939db729 (patch) | |
tree | 94d53c5c905021f480b1c80529f6919181c4c73b /audio/mp3c | |
parent | 9e20b44c8053a22656f664d6c0e3ba06708a98b5 (diff) |
Notes
Diffstat (limited to 'audio/mp3c')
-rw-r--r-- | audio/mp3c/Makefile | 20 |
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: |