ports/172241: graphics/grx: Update to version 2.4.9

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 1 18:10:12 UTC 2012


>Number:         172241
>Category:       ports
>Synopsis:       graphics/grx: Update to version 2.4.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 18:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 2.4.9

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/grx/Makefile graphics/grx/Makefile
--- /usr/ports/graphics/grx/Makefile	2012-06-13 06:42:30.000000000 +0900
+++ graphics/grx/Makefile	2012-09-29 23:59:36.000000000 +0900
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	grx
-PORTVERSION=	2.4.8
-PORTREVISION=	1
+PORTVERSION=	2.4.9
 CATEGORIES=	graphics
 MASTER_SITES=	http://grx.gnu.de/download/
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
@@ -15,21 +14,28 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A 2D graphics library
 
-USE_GMAKE=	yes
+LICENSE=	LGPL20 MIT
+LICENSE_COMB=	multi
+
+OPTIONS_DEFINE=	BGI BMP JPEG PNG PRINT TIFF ZLIB
+OPTIONS_DEFAULT=	ZLIB BGI BMP PNG PRINT
+BGI_DESC=	Enable BGI support
+BMP_DESC=	Enable BMP support
+
 USE_XORG=	x11
-USE_LDCONFIG=	yes
+USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts \
 		--with-x11-base=${LOCALBASE}
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 ALL_TARGET=	libs
 INSTALL_TARGET=	install install-bin install-fonts install-info
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
 
-OPTIONS_DEFINE=	BGI BMP JPEG PNG PRINT TIFF ZLIB
-OPTIONS_DEFAULT=	ZLIB BGI BMP PNG PRINT
-BGI_DESC=	Enable BGI support
-BMP_DESC=	Enable BMP support
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
 
 INFO=		grx
 
@@ -50,7 +56,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MJPEG}
-LIB_DEPENDS+=	jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+=	jpeg:${PORTSDIR}/graphics/jpeg
 CONFIGURE_ARGS+=--enable-jpeg
 .else
 CONFIGURE_ARGS+=--disable-jpeg
@@ -72,7 +78,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MTIFF}
-LIB_DEPENDS+=	tiff.4:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+=	tiff:${PORTSDIR}/graphics/tiff
 CONFIGURE_ARGS+=--enable-tiff
 .else
 CONFIGURE_ARGS+=--disable-tiff
@@ -84,7 +90,9 @@
 CONFIGURE_ARGS+=--disable-zlib
 .endif
 
-.if ${ARCH} == amd64
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
 CONFIGURE_ARGS+=--enable-x86_64
 .endif
 
@@ -96,13 +104,16 @@
 	@${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \
 		${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>|<stdlib.h>|'
 	@${REINPLACE_CMD} -Ee \
-		's|-m32||; s|-m64||; \
-		 s|^(CC[[:blank:]]*=).*|\1 ${CC}|; \
-		 s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}|; \
-		 s|^(LDOPT =)|\1 ${LDFLAGS}|;' \
-		-e 's|lib64|lib|' \
+		's|-m32|| ; \
+		 s|-m64|| ; \
+		 s|^(CC[[:blank:]]*=).*|\1 ${CC}| ; \
+		 s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}| ; \
+		 s|^(LDOPT =)|\1 ${LDFLAGS}| ; \
+		 s|lib64|lib|' \
 		${WRKSRC}/makedefs.grx
-	@${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|lib64|lib|' \
-		 ${WRKSRC}/src/makefile.[lx]*
+	@${REINPLACE_CMD} -e \
+		's|gcc|${CC}| ; \
+		 s|lib64|lib|' \
+		${WRKSRC}/src/makefile.[lx]*
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/graphics/grx/distinfo graphics/grx/distinfo
--- /usr/ports/graphics/grx/distinfo	2011-07-03 23:11:21.000000000 +0900
+++ graphics/grx/distinfo	2012-09-29 10:07:41.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (grx248.tar.gz) = 57e565689b7d0909f61818e9be0dbc14e6bceaa0b996ee84aca7fcb37a6733ed
-SIZE (grx248.tar.gz) = 1510074
+SHA256 (grx249.tar.gz) = a899956b3ee46492696114d220431405320c64c1f6f058fdfc2b4d6a2beae786
+SIZE (grx249.tar.gz) = 1514962
diff -urN /usr/ports/graphics/grx/pkg-descr graphics/grx/pkg-descr
--- /usr/ports/graphics/grx/pkg-descr	2006-07-03 09:33:34.000000000 +0900
+++ graphics/grx/pkg-descr	2012-09-29 23:54:02.000000000 +0900
@@ -1,7 +1,5 @@
-GRX is a 2D graphics library originaly written by Csaba Biegl for DJ Delorie's
-DOS port of the GCC compiler.
-
-Now it support DOS (using the DJGPP v2 compiler), Linux console, X11 and Win32
-(using the Mingw compiler).
+GRX is a 2D graphics C library originaly written by Csaba Biegl for
+DJ Delorie's DOS port of the GCC compiler. Now it support a big range
+of platforms.
 
 WWW: http://grx.gnu.de/
diff -urN /usr/ports/graphics/grx/pkg-plist graphics/grx/pkg-plist
--- /usr/ports/graphics/grx/pkg-plist	2010-10-11 12:35:22.000000000 +0900
+++ graphics/grx/pkg-plist	2012-09-29 10:08:45.000000000 +0900
@@ -8,7 +8,7 @@
 lib/libgrx20X.a
 lib/libgrx20X.so
 lib/libgrx20X.so.2
-lib/libgrx20X.so.2.4.8
+lib/libgrx20X.so.%%VERSION%%
 %%DATADIR%%/fonts/char11.fnt
 %%DATADIR%%/fonts/char11b.fnt
 %%DATADIR%%/fonts/char11bi.fnt
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list