aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3encode/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-12-24 14:59:44 +0800
committersteve <steve@FreeBSD.org>1998-12-24 14:59:44 +0800
commit30515f2dd2f4f73b93397ca5c9dc330560a1b19a (patch)
tree7ae2868a0c4113841e7de8457fc7eb2d8c452016 /audio/mp3encode/Makefile
parent440e132ce9a16d8a26bfb655d32d69574176a7f7 (diff)
downloadfreebsd-ports-gnome-30515f2dd2f4f73b93397ca5c9dc330560a1b19a.tar.gz
freebsd-ports-gnome-30515f2dd2f4f73b93397ca5c9dc330560a1b19a.tar.zst
freebsd-ports-gnome-30515f2dd2f4f73b93397ca5c9dc330560a1b19a.zip
Initial import of mp3encode version 1.10.
An MPEG layer I, II, and III audio file encoder. PR: 7735 Submitted by: Joel Sutton <jsutton@webnet.com.au>
Diffstat (limited to 'audio/mp3encode/Makefile')
-rw-r--r--audio/mp3encode/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/audio/mp3encode/Makefile b/audio/mp3encode/Makefile
new file mode 100644
index 000000000000..5ee7f69bf453
--- /dev/null
+++ b/audio/mp3encode/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: mp3encode
+# Version required: 1.10
+# Date created: 5th August, 1998
+# Whom: Joel Sutton <jsutton@webnet.com.au>
+#
+# $Id$
+#
+
+DISTNAME= dist10
+PKGNAME= mp3encode-1.10
+CATEGORIES= audio
+MASTER_SITES= ftp://ftp.sunet.se/pub/multimedia/Berkeley/mpeg2/conformance-bitstreams/audio/mpeg2/software/technical_report/
+
+MAINTAINER= jsutton@webnet.com.au
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/lsf/encoder
+ALL_TARGET= encode
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+
+# Directories and extra files
+#
+TABLE_LIB= ${PREFIX}/lib/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 \
+ absthr_0 absthr_1 absthr_2 alloc_0 alloc_1 alloc_2 alloc_3 \
+ alloc_4 dewindow enwindow huffcode huffdec psy_data
+
+post-patch:
+ @${ECHO} "===> Specifing table path "
+ ${SED} "s/ZAP/${TABLE_LIB_SED}/g" < ${WRKSRC}/common.h >${WRKSRC}/common.h.sed
+ ${CP} -f ${WRKSRC}/common.h.sed ${WRKSRC}/common.h
+
+do-install:
+ @${ECHO} "===> Installing binaries"
+ ${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
+
+.include <bsd.port.mk>