diff options
author | jmmv <jmmv> | 2003-01-17 13:49:07 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-01-17 13:49:07 +0000 |
commit | d938b90ca74a5cf375b3ed9dcb5b197db7defc4d (patch) | |
tree | 7f75f3b438188fd558f3cae9e8cd2319ac6cbe78 /graphics/gdchart/Makefile | |
parent | 09591496372d0aeefdf157888e9079814ef1f98d (diff) | |
download | pkgsrc-d938b90ca74a5cf375b3ed9dcb5b197db7defc4d.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/Makefile | 12 |
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" |