1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/graphics/swftools/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: swftools
# Date created: Feb 9, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= swftools
PORTVERSION= 0.6.1
CATEGORIES= graphics
MASTER_SITES= http://www.quiss.org/swftools/
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:08:19 +00:00
COMMENT= SWF manipulation and generation utilities
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
t1.5:${PORTSDIR}/devel/t1lib \
jpeg.9:${PORTSDIR}/graphics/jpeg \
freetype.9:${PORTSDIR}/print/freetype2
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
2002-06-19 08:18:10 +00:00
USE_REINPLACE= yes
2004-02-17 13:59:23 +00:00
USE_BISON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
FREETYPE_CONFIG="${FREETYPE_CONFIG}"
MAN1= font2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 swfbbox.1 swfc.1 \
swfcombine.1 swfdump.1 swfextract.1 swfstrings.1 wav2swf.1
post-patch:
@${REINPLACE_CMD} -e 's| -O | |g ; \
s|/usr/local/include|${LOCALBASE}/include|g ; \
s|/usr/local/lib|${LOCALBASE}/lib|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|;make|;\$$\(MAKE\)|g' ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>