freebsd-ports/graphics/swfmill/Makefile
Sergey Skvortsov ae994dc4d6 On 4.x add workaround for <stdint.h>
Pointed by:	pointyhat (kris)
2006-09-05 16:47:14 +00:00

36 lines
869 B
Makefile

# New ports collection makefile for: swfmill
# Date created: 09 June 2006
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= swfmill
PORTVERSION= 0.2.11
CATEGORIES= graphics
MASTER_SITES= http://iterative.org/swfmill/releases/
MAINTAINER= skv@FreeBSD.org
COMMENT= xml2swf and swf2xml processor with import functionalities
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
freetype.9:${PORTSDIR}/print/freetype2
USE_AUTOTOOLS= libtool:15
USE_GNOME= pkgconfig libxml2 libxslt
GNU_CONFIGURE= YES
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" PKG_CONFIG=${LOCALBASE}/bin/pkg-config
USE_LDCONFIG= YES
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
.if ${OSVERSION} < 500000
${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \
${WRKSRC}/src/*.h
.endif
.include <bsd.port.post.mk>