1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/audio/libtremor/Makefile
Baptiste Daroussin cf7913070d Support stage
Strip binaries
2014-01-04 17:56:05 +00:00

45 lines
1.2 KiB
Makefile

# Created by: kwm@rainbow-runner.nl
# $FreeBSD$
PORTNAME= libtremor
PORTVERSION= 1.0.2.${SNAP_DATE}
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://members.chello.nl/~g.mast/distfiles/
DISTNAME= tremor_snapshot_${SNAP_DATE}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Integer-only fully Ogg Vorbis compliant decoder library
SNAP_DATE= 02132004
WRKSRC= ${WRKDIR}/Tremor
USE_AUTOTOOLS= automake autoconf libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL}
@cd ${WRKSRC} && ${LIBTOOLIZE} --automake
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
@cd ${WRKSRC} && ${AUTOMAKE} --add-missing
@cd ${WRKSRC} && ${AUTOCONF}
do-install:
for i in ${WRKSRC}/.libs/libvorbisidec.so.1 \
${WRKSRC}/.libs/libvorbisidec.so; do \
${INSTALL_LIB} $$i ${STAGEDIR}${PREFIX}/lib ; \
done
${INSTALL_DATA} ${WRKSRC}/.libs/libvorbisidec.a \
${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${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 ${STAGEDIR}${PREFIX}/include/tremor ; \
done
.include <bsd.port.mk>