aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-02 17:06:00 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-02 17:06:00 +0000
commit7271bfa2bf9ce09a7f7f360190d37855a7d1d241 (patch)
treec00e35b6052d55444a1a7c81339af1adf7e62855 /graphics
parent00b127e344a5a86cfa9852c6ad043f5e2c95fe4f (diff)
downloadports-7271bfa2bf9ce09a7f7f360190d37855a7d1d241.tar.gz
ports-7271bfa2bf9ce09a7f7f360190d37855a7d1d241.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ming/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
index e27479b3f86d..4b7b197c81ef 100644
--- a/graphics/ming/Makefile
+++ b/graphics/ming/Makefile
@@ -14,8 +14,8 @@ MASTER_SITES= SF/${PORTNAME}/Releases/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Flash 4/5 movie output library with many languages support
-LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
- gif.5:${PORTSDIR}/graphics/giflib \
+LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
+ gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png
CONFLICTS= ja-ming-[0-9]*
@@ -35,12 +35,14 @@ DOCS= HISTORY NEWS README TODO
DOCS_UTIL= README TIPS TODO swftoperl.html
.if defined(SLAVEPORT)
-LIB_DEPENDS+= ming.5:${PORTSDIR}/graphics/ming
+LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming
.endif
post-patch:
@${REINPLACE_CMD} -e 's|ungif|gif|g' ${WRKSRC}/configure ${WRKSRC}/docs/man/Makefile \
${WRKSRC}/perl_ext/Makefile.PL ${WRKSRC}/py_ext/setup.py.in
+ @${REINPLACE_CMD} -e '/PrintGifError();/d' ${WRKSRC}/src/blocks/gifdbl.c \
+ ${WRKSRC}/util/gif2dbl.c ${WRKSRC}/util/gif2mask.c
# patch for graphics/p5-ming
@${REINPLACE_CMD} -e 's|\.3pm|.3|g' ${WRKSRC}/perl_ext/Makefile.PL ${WRKSRC}/perl_ext/mkdoc
@${REINPLACE_CMD} -e 's|GvCV(\(.*\)) = \(.*\);|GvCV_set(\1, \2);|' ${WRKSRC}/perl_ext/Exports.c