svn commit: r351313 - head/graphics/gd

Dirk Meyer dinoex at FreeBSD.org
Tue Apr 15 08:14:23 UTC 2014


Author: dinoex
Date: Tue Apr 15 08:14:22 2014
New Revision: 351313
URL: http://svnweb.freebsd.org/changeset/ports/351313
QAT: https://qat.redports.org/buildarchive/r351313/

Log:
  - Add shebangfix so bdftogd
  - Strip libgd
  PR:		188581
  Submitted by:	Steve Wills

Modified:
  head/graphics/gd/Makefile

Modified: head/graphics/gd/Makefile
==============================================================================
--- head/graphics/gd/Makefile	Tue Apr 15 08:13:14 2014	(r351312)
+++ head/graphics/gd/Makefile	Tue Apr 15 08:14:22 2014	(r351313)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libgd
 PORTVERSION=	2.1.0
-PORTREVISION?=	1
+PORTREVISION?=	2
 PORTEPOCH=	1
 CATEGORIES+=	graphics
 MASTER_SITES=	http://cdn.bitbucket.org/libgd/gd-libgd/downloads/
@@ -18,7 +18,8 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 
 CONFLICTS=	bazaar-1.*
 
-USES=		tar:xz pkgconfig
+USES=		tar:xz pkgconfig shebangfix
+SHEBANG_FILES=	${WRKSRC}/src/bdftogd
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_ENV=	PKG_CONFIG_LIBDIR=${LOCALBASE}/libdata/pkgconfig
 GNU_CONFIGURE_ARGS=
@@ -105,5 +106,6 @@ pre-build:
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \
 		${STAGEDIR}${PREFIX}/include/
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.5
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list