Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 15:20:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325204 - head/graphics/ming
Message-ID:  <201308221520.r7MFKwLk055823@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Aug 22 15:20:57 2013
New Revision: 325204
URL: http://svnweb.freebsd.org/changeset/ports/325204

Log:
  - 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

Modified:
  head/graphics/ming/Makefile
  head/graphics/ming/distinfo   (contents, props changed)
  head/graphics/ming/pkg-descr   (contents, props changed)
  head/graphics/ming/pkg-plist   (contents, props changed)

Modified: head/graphics/ming/Makefile
==============================================================================
--- head/graphics/ming/Makefile	Thu Aug 22 15:19:00 2013	(r325203)
+++ head/graphics/ming/Makefile	Thu Aug 22 15:20:57 2013	(r325204)
@@ -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/
 		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/

Modified: head/graphics/ming/distinfo
==============================================================================
--- head/graphics/ming/distinfo	Thu Aug 22 15:19:00 2013	(r325203)
+++ head/graphics/ming/distinfo	Thu Aug 22 15:20:57 2013	(r325204)
@@ -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

Modified: head/graphics/ming/pkg-descr
==============================================================================
--- head/graphics/ming/pkg-descr	Thu Aug 22 15:19:00 2013	(r325203)
+++ head/graphics/ming/pkg-descr	Thu Aug 22 15:20:57 2013	(r325204)
@@ -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/

Modified: head/graphics/ming/pkg-plist
==============================================================================
--- head/graphics/ming/pkg-plist	Thu Aug 22 15:19:00 2013	(r325203)
+++ head/graphics/ming/pkg-plist	Thu Aug 22 15:20:57 2013	(r325204)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308221520.r7MFKwLk055823>