2000-02-12 01:29:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2000/02/12 06:29:50 turan Exp $
|
1999-05-22 21:42:34 -04:00
|
|
|
|
|
|
|
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/
|
2000-02-10 19:37:15 -05:00
|
|
|
NEED_VERSION= 1.191
|
1999-05-22 21:42:34 -04:00
|
|
|
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
|
2000-02-12 01:29:49 -05:00
|
|
|
LICENSE_TYPE= BSD
|
|
|
|
PERMIT_PKG_CDROM= YES
|
|
|
|
PERMIT_PKG_FTP= YES
|
|
|
|
PERMIT_DISTF_CDROM= YES
|
|
|
|
PERMIT_DISTF_FTP= YES
|
|
|
|
|
1999-09-06 14:13:21 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/lsf/encoder
|
1999-05-22 21:42:34 -04:00
|
|
|
|
|
|
|
# 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:
|
2000-01-27 09:04:54 -05:00
|
|
|
@sed -e s,ZAP,${TABLE_LIB_SED}, ${WRKSRC}/common.h > ${WRKSRC}/common.h.sed
|
|
|
|
@mv ${WRKSRC}/common.h.sed ${WRKSRC}/common.h
|
1999-05-22 21:42:34 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-01-27 09:04:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${TABLE_LIB}
|
1999-05-22 21:42:34 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/encode ${PREFIX}/bin/mp3encode
|
2000-01-27 09:04:54 -05:00
|
|
|
cd ${WRKSRC}/tables; ${INSTALL_DATA} ${TABLE_FILES} ${TABLE_LIB}
|
1999-05-22 21:42:34 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|