mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
77de5d67f6
Submitted by: Koop Mast <kwm@rainbow-runner.nl>
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# New ports collection makefile for: libtremor
|
|
# Date created: 07 December 2003
|
|
# Whom: kwm@rainbow-runner.nl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libtremor
|
|
PORTVERSION= 1.0.2.${SNAP_DATE}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://members.chello.nl/~g.mast/distfiles/
|
|
DISTNAME= tremor_snapshot_${SNAP_DATE}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= kwm@rainbow-runner.nl
|
|
COMMENT= Integer-only fully Ogg Vorbis compliant decoder library
|
|
|
|
# pull in libtool this way because USE_LIBTOOL tries to patch
|
|
# things that don't exist.
|
|
|
|
BUILD_DEPENDS= libtoolize13:${PORTSDIR}/devel/libtool13
|
|
|
|
SNAP_DATE= 02132004
|
|
WRKSRC= ${WRKDIR}/Tremor
|
|
USE_REINPLACE= yes
|
|
USE_AUTOMAKE_VER= 15
|
|
USE_AUTOCONF_VER= 253
|
|
USE_LIBTOOL_VER= 13
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${ACLOCAL}
|
|
@cd ${WRKSRC} && ${LIBTOOLIZE} --automake
|
|
@cd ${WRKSRC} && ${AUTOMAKE} --add-missing
|
|
@cd ${WRKSRC} && ${AUTOCONF}
|
|
|
|
do-install:
|
|
for i in ${WRKSRC}/.libs/libvorbisidec.so.1 \
|
|
${WRKSRC}/.libs/libvorbisidec.so \
|
|
${WRKSRC}/.libs/libvorbisidec.a ; do \
|
|
${INSTALL_SCRIPT} $$i ${PREFIX}/lib ; \
|
|
done
|
|
@${MKDIR} ${PREFIX}/include/tremor
|
|
for i in ${WRKSRC}/config_types.h \
|
|
${WRKSRC}/ivorbiscodec.h \
|
|
${WRKSRC}/ivorbisfile.h \
|
|
${WRKSRC}/ogg.h \
|
|
${WRKSRC}/os_types.h ; do \
|
|
${INSTALL_SCRIPT} $$i ${PREFIX}/include/tremor ; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|