a5161478f2
PR: 25415 Submitted by: maintainer
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# New ports collection makefile for: vorbis-tools
|
|
# Date created: 18 October 2000
|
|
# Whom: t.vanklaveren@student.utwente.nl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vorbis-tools
|
|
PORTVERSION= 1.0b4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.vorbis.com/files/beta4/unix/ \
|
|
http://home.student.utwente.nl/t.vanklaveren/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
|
|
|
|
MAINTAINER= t.vanklaveren@student.utwente.nl
|
|
|
|
LIB_DEPENDS= ao.1:${PORTSDIR}/audio/libao \
|
|
ogg.1:${PORTSDIR}/audio/libogg \
|
|
vorbis.0:${PORTSDIR}/audio/libvorbis
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-ogg=${LOCALBASE} \
|
|
--with-ao=${LOCALBASE}
|
|
|
|
MAN1= ogg123.1 oggenc.1
|
|
|
|
#post-build:
|
|
# This is probably evil, and should be in a Makefile.
|
|
# cd ${WRKSRC}/oggenc && ${CC} ${CFLAGS} -c getopt1.c
|
|
# cd ${WRKSRC}/ogg123 && ${CC} ${CFLAGS} -c ogg123.c -I../oggenc -I${LOCALBASE}/include
|
|
# cd ${WRKSRC}/ogg123 && ${CC} ${LDFLAGS} -o ogg123 ogg123.o ../oggenc/getopt.o ../oggenc/getopt1.o -L${LOCALBASE}/lib -logg -lvorbis -lao -lvorbisfile
|
|
#
|
|
#post-install:
|
|
# ${INSTALL_PROGRAM} ${WRKSRC}/ogg123/ogg123 ${PREFIX}/bin/
|
|
# ${INSTALL_MAN} ${WRKSRC}/ogg123/ogg123.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|