summaryrefslogtreecommitdiff
path: root/graphics/gdchart/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-01-17 13:49:07 +0000
committerjmmv <jmmv>2003-01-17 13:49:07 +0000
commit367c852859b89d3507d56e87191708c5dbd2d99f (patch)
tree7f75f3b438188fd558f3cae9e8cd2319ac6cbe78 /graphics/gdchart/Makefile
parent974398553413f26293f86a1fc91d3f040b2999d9 (diff)
downloadpkgsrc-367c852859b89d3507d56e87191708c5dbd2d99f.tar.gz
Libtoolize this package so we get shared libraries (they are required by
net/ntop2). While here, also enable jpeg support. Bump PKGREVISION to 2. Reviewed by wiz.
Diffstat (limited to 'graphics/gdchart/Makefile')
-rw-r--r--graphics/gdchart/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 580363350ca..99c2ad5bd15 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2002/10/07 20:12:00 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/01/17 13:49:07 jmmv Exp $
#
DISTNAME= gdchart0.10.1dev
PKGNAME= gdchart-0.10.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.fred.net/brv/chart/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -15,6 +15,7 @@ COMMENT= Easy to use, fast C API for creating charts and graphs
MAKEFILE= makefile
USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
post-patch:
for fn in ${WRKSRC}/*.[ch]; do \
@@ -24,13 +25,13 @@ post-patch:
done
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libgdchart.a ${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/libgdchart.la \
+ ${PREFIX}/lib
+ ${LIBTOOL} -n --finish ${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
-
-post-install:
${INSTALL_DATA_DIR} -d -m 0755 ${PREFIX}/share/doc/gdchart
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gdchart
${INSTALL_DATA_DIR} -d -m 0755 ${PREFIX}/share/examples/gdchart
@@ -40,4 +41,5 @@ post-install:
${PREFIX}/share/examples/gdchart
.include "../../graphics/gd/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"