[Midnightbsd-cvs] mports [18668] trunk/graphics/gdchart: bump for gd changes

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 12 12:15:49 EDT 2015


Revision: 18668
          http://svnweb.midnightbsd.org/mports/?rev=18668
Author:   laffer1
Date:     2015-04-12 12:15:48 -0400 (Sun, 12 Apr 2015)
Log Message:
-----------
bump for gd changes

Modified Paths:
--------------
    trunk/graphics/gdchart/Makefile
    trunk/graphics/gdchart/distinfo
    trunk/graphics/gdchart/pkg-plist

Modified: trunk/graphics/gdchart/Makefile
===================================================================
--- trunk/graphics/gdchart/Makefile	2015-04-12 16:13:10 UTC (rev 18667)
+++ trunk/graphics/gdchart/Makefile	2015-04-12 16:15:48 UTC (rev 18668)
@@ -1,14 +1,9 @@
-# New ports collection makefile for:	gdchart
-# Date created:         4 June 2001
-# Whom:                 Anders Nordby <anders at fix.no>
-#
 # $MidnightBSD$
 # $FreeBSD: ports/graphics/gdchart/Makefile,v 1.18 2007/05/19 20:09:09 flz Exp $
-#
 
 PORTNAME=	gdchart
 PORTVERSION=	0.11.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.fred.net/brv/chart/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -16,23 +11,26 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Easy to use, fast C API for creating charts and graphs
+
 LICENSE=	other
 
-LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
+USES=		uidfix
 MAKEFILE=	${FILESDIR}/Makefile
 MAKE_ARGS=	PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
 USE_LDCONFIG=	yes
 
-DOCS=		README.txt
 EXAMPLES=	ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
 
-.if defined(NOPROFILE)
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+.if defined(NO_PROFILE)
 PLIST_SUB+=	PROFILE="@comment "
 .else
-PLIST_SUB+=	PROFILE=
+PLIST_SUB+=	PROFILE=""
 .endif
 
 post-patch:
@@ -51,17 +49,9 @@
 			${WRKSRC}/gdc_pie_samp.c
 
 post-install:
-.if !defined(NOPORTDOCS)
-.for f in ${DOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
-.for f in ${EXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}/
-.endfor
-.endif
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: trunk/graphics/gdchart/distinfo
===================================================================
--- trunk/graphics/gdchart/distinfo	2015-04-12 16:13:10 UTC (rev 18667)
+++ trunk/graphics/gdchart/distinfo	2015-04-12 16:15:48 UTC (rev 18668)
@@ -1,3 +1,2 @@
 SHA256 (gdchart0.11.5dev.tar.gz) = 4dca5ffd3c2812d935cfa833d6d63e1edbe54459a97a7113ef42dcd7819db1a1
-RMD160 (gdchart0.11.5dev.tar.gz) = be9b11eb446738d9e30d78e8ce73b8a418b1f520
 SIZE (gdchart0.11.5dev.tar.gz) = 38783

Modified: trunk/graphics/gdchart/pkg-plist
===================================================================
--- trunk/graphics/gdchart/pkg-plist	2015-04-12 16:13:10 UTC (rev 18667)
+++ trunk/graphics/gdchart/pkg-plist	2015-04-12 16:15:48 UTC (rev 18668)
@@ -6,9 +6,7 @@
 lib/libgdc.so.1
 %%PROFILE%%lib/libgdc_p.a
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ft_samp.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_samp1.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_samp2.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_pie_samp.c
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



More information about the Midnightbsd-cvs mailing list