summaryrefslogtreecommitdiff
path: root/graphics/gdchart/Makefile
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-06-18 07:03:00 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-06-18 07:03:00 +0000
commit4c90d45cd280d00c52efdbc097b03a84229caae7 (patch)
treef07f2a28a3f93f554aeba1106000324c6cab6b55 /graphics/gdchart/Makefile
parentRemove pgaccess as it is already in postgresql( you can install only (diff)
Update to 0.10.1, which includes support for more graphics formats.
PR: 28243 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=44158
Diffstat (limited to 'graphics/gdchart/Makefile')
-rw-r--r--graphics/gdchart/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 492281cd514f..323e3474846e 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -6,41 +6,38 @@
#
PORTNAME= gdchart
-PORTVERSION= 0.9.4b
+PORTVERSION= 0.10.1
CATEGORIES= graphics
MASTER_SITES= http://www.fred.net/brv/chart/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
-DISTNAME= ${PORTNAME}0.94b
+DISTNAME= ${PORTNAME}${PORTVERSION}dev
MAINTAINER= anders@fix.no
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
MAKEFILE= makefile
+WRKSRC= ${WRKDIR}/${DISTNAME}
do-install:
${INSTALL_DATA} ${WRKSRC}/libgdchart.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/gdchart.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/gdc.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/gdcpie.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/gifencode.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
post-install:
@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/gdchart
${INSTALL_DATA} ${WRKSRC}/gdc_samp1.c ${PREFIX}/share/doc/gdchart
${INSTALL_DATA} ${WRKSRC}/gdc_samp2.c ${PREFIX}/share/doc/gdchart
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/gdchart
- ${INSTALL_DATA} ${WRKSRC}/NOTES-092b.txt ${PREFIX}/share/doc/gdchart
- ${INSTALL_DATA} ${WRKSRC}/NOTES-093b.txt ${PREFIX}/share/doc/gdchart
- ${INSTALL_DATA} ${WRKSRC}/NOTES-094b.txt ${PREFIX}/share/doc/gdchart
+ ${INSTALL_DATA} ${WRKSRC}/gdc_pie_samp.c ${PREFIX}/share/doc/gdchart
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gdchart
@${ECHO} "================================================================================"
- @${ECHO} "Have a look at the sample code and README(s) in ${PREFIX}/share/doc/${PORTNAME}."
+ @${ECHO} "Have a look at the sample code and README in ${PREFIX}/share/doc/${PORTNAME}."
@${ECHO} "To compile gdc_samp1, try something like:"
@${ECHO}
@${ECHO} "gcc -I${PREFIX}/include -o gdc_samp1 gdc_samp1.c -L${PREFIX}/lib -lgdchart -lgd"
- @${ECHO}
- @${ECHO} "NB: gdchart will produce PNGs, not GIFs, as newer versions of gd stopped"
- @${ECHO} "supporting GIFs."
@${ECHO} "================================================================================"
.endif