mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
ae994dc4d6
Pointed by: pointyhat (kris)
37 lines
869 B
Makefile
37 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>
|