summaryrefslogtreecommitdiffstats
path: root/audio/mp3encode/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-11 05:55:52 +0000
committerkevlo <kevlo@FreeBSD.org>2000-11-11 05:55:52 +0000
commitbc37c9d6fa30d46f2c66eb07de6ff1383061bb38 (patch)
tree21f4850aab7d8e3cd38a16b30c3d021782f2665d /audio/mp3encode/Makefile
parent2b3fdb9b9651fba02b8f3e7bae2998896169513a (diff)
downloadFreeBSD-ports-bc37c9d6fa30d46f2c66eb07de6ff1383061bb38.zip
FreeBSD-ports-bc37c9d6fa30d46f2c66eb07de6ff1383061bb38.tar.gz
- Add RESTRICTED line
- Support CC/CFLAGS/PREFIX properly - Change location of data files from lib/ to share/ PR: 22740 Submitted by: Ports Fury
Diffstat (limited to 'audio/mp3encode/Makefile')
-rw-r--r--audio/mp3encode/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/audio/mp3encode/Makefile b/audio/mp3encode/Makefile
index 2a2d454..19b60d1 100644
--- a/audio/mp3encode/Makefile
+++ b/audio/mp3encode/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: mp3encode
+# New ports collection makefile for: mp3encode
# Date created: 5th August, 1998
# Whom: Joel Sutton <jsutton@bbcon.com.au>
#
@@ -7,20 +7,25 @@
PORTNAME= mp3encode
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.sunet.se/pub/multimedia/Berkeley/mpeg2/conformance-bitstreams/audio/mpeg2/software/technical_report/
DISTNAME= dist10
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
+
+RESTRICTED= Condition is not clear
WRKSRC= ${WRKDIR}/${DISTNAME}/lsf/encoder
-ALL_TARGET= encode
-HAS_CONFIGURE= yes
+
USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+ALL_TARGET= encode
# Directories and extra files
#
-TABLE_LIB= ${PREFIX}/lib/mp3encode
+TABLE_LIB= ${PREFIX}/share/mp3encode
TABLE_LIB_SED= ${TABLE_LIB:S/\//\\\//g}
TABLE_FILES= 1cb0 1cb1 1cb2 1cb4 1cb5 1cb6 1th0 1th1 1th2 1th4 1th5 1th6 \
2cb0 2cb1 2cb2 2cb4 2cb5 2cb6 2th0 2th1 2th2 2th4 2th5 2th6 \
@@ -37,8 +42,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/encode ${PREFIX}/bin
@${ECHO} "===> Installing table files"
-${MKDIR} ${TABLE_LIB}
- for file in ${TABLE_FILES} ; do \
- ${INSTALL_DATA} ${WRKSRC}/tables/$$file ${TABLE_LIB}/ ;\
- done
+.for file in ${TABLE_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/tables/${file} ${TABLE_LIB}
+.endfor
.include <bsd.port.mk>
OpenPOWER on IntegriCloud