diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-08-22 23:20:57 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-08-22 23:20:57 +0800 |
commit | 02fc37191bc356906e2ec6481953bf2e3427b988 (patch) | |
tree | fe2731de739bd7595ac33afd1333322ee994a971 /graphics | |
parent | 7e5e3be39d25a3783c299fb9801dfe9e9d14f208 (diff) | |
download | freebsd-ports-gnome-02fc37191bc356906e2ec6481953bf2e3427b988.tar.gz freebsd-ports-gnome-02fc37191bc356906e2ec6481953bf2e3427b988.tar.zst freebsd-ports-gnome-02fc37191bc356906e2ec6481953bf2e3427b988.zip |
- Update to 0.4.5
- Convert to new options framework
- Cosmetic change
- Use single space after WWW:
Changes: https://github.com/libming/libming/blob/master/NEWS
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ming/Makefile | 18 | ||||
-rw-r--r-- | graphics/ming/distinfo | 4 | ||||
-rw-r--r-- | graphics/ming/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/ming/pkg-plist | 1 |
4 files changed, 17 insertions, 10 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile index 5d0abb5bd970..09e97832d758 100644 --- a/graphics/ming/Makefile +++ b/graphics/ming/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= ming -PORTVERSION= 0.4.4 -PORTREVISION?= 2 +PORTVERSION= 0.4.5 +PORTREVISION?= 0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/Releases/ @@ -14,6 +14,12 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ gif:${PORTSDIR}/graphics/giflib \ png15:${PORTSDIR}/graphics/png +.if defined(SLAVEPORT) +LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming +.else +OPTIONS_DEFINE= DOCS +.endif + CONFLICTS= ja-ming-[0-9]* CFLAGS+= -I${LOCALBASE}/include @@ -28,16 +34,16 @@ USES+= bison gmake pathfix DOCS= HISTORY NEWS README TODO DOCS_UTIL= README TIPS TODO swftoperl.html -.if defined(SLAVEPORT) -LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming -.endif +.include <bsd.port.options.mk> 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 + @${REINPLACE_CMD} -e 's|#if GIFLIB_GIFERRORSTRING|#if 0|' ${WRKSRC}/src/libming.h # patch for graphics/p5-ming + @${REINPLACE_CMD} -e '/ming_is_compiled()/ s|^|#|; /LIBS/d' ${WRKSRC}/perl_ext/Makefile.PL @${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 @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/perl_ext/examples/*.cgi @@ -54,7 +60,7 @@ post-install: ${INSTALL_DATA} *.h src/*.h ${PREFIX}/include/ming/ && \ ${INSTALL_DATA} src/blocks/*.h ${PREFIX}/include/ming/blocks/ && \ ${INSTALL_DATA} util/png2dbl.c util/*.h ${PREFIX}/include/ming/util/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/ ${DOCSDIR}/util/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/ cd ${WRKSRC}/util/ && ${INSTALL_DATA} ${DOCS_UTIL} ${DOCSDIR}/util/ diff --git a/graphics/ming/distinfo b/graphics/ming/distinfo index a3f8f4102e0d..6740d7c2207b 100644 --- a/graphics/ming/distinfo +++ b/graphics/ming/distinfo @@ -1,2 +1,2 @@ -SHA256 (ming-0.4.4.tar.gz) = 002ab467e861b3d4c4df716d3f6eb1a13ff55daa39f246c9f7d81ccf11f5b798 -SIZE (ming-0.4.4.tar.gz) = 14816668 +SHA256 (ming-0.4.5.tar.gz) = f73f171424b5907efbba0be0824ab9dd425c61544229c1825c32bff565e65143 +SIZE (ming-0.4.5.tar.gz) = 15029578 diff --git a/graphics/ming/pkg-descr b/graphics/ming/pkg-descr index 74882f6175fa..abeef5bf4a68 100644 --- a/graphics/ming/pkg-descr +++ b/graphics/ming/pkg-descr @@ -1,4 +1,4 @@ Ming is an LGPL'ed Flash 4/5 (TM) movie (SWF) output library with PHP, -Python, Ruby, Perl5, C and C++ interfaces. +Python, Ruby, Perl 5, C and C++ interfaces. -WWW: http://www.libming.org/ +WWW: http://www.libming.org/ diff --git a/graphics/ming/pkg-plist b/graphics/ming/pkg-plist index 49a73ec322cb..17ea429ed317 100644 --- a/graphics/ming/pkg-plist +++ b/graphics/ming/pkg-plist @@ -99,6 +99,7 @@ include/ming/util/png2dbl.c include/ming/util/read.h include/ming/util/swfoutput.h include/ming/util/swftypes.h +include/ming/util/vasprintf.h lib/libming.a lib/libming.la lib/libming.so |