diff options
author | jtb <jtb@pkgsrc.org> | 2001-01-20 02:18:02 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-01-20 02:18:02 +0000 |
commit | d4e7c2f8b8aff5240619cb5cc26135972cd9a50e (patch) | |
tree | 85aa4c3b1381b8b7b4a723d3ee259f018dbedfff /misc/proj/Makefile | |
parent | 8f90cdd7d50478a04538b86f94120988d18ffe0b (diff) | |
download | pkgsrc-d4e7c2f8b8aff5240619cb5cc26135972cd9a50e.tar.gz |
Initial import of new "proj" package:
Cartesian cartographic projection library and programs
Diffstat (limited to 'misc/proj/Makefile')
-rw-r--r-- | misc/proj/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/proj/Makefile b/misc/proj/Makefile new file mode 100644 index 00000000000..4b477e682db --- /dev/null +++ b/misc/proj/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/01/20 02:18:02 jtb Exp $ + +DISTNAME= PROJ.4.3.3 +PKGNAME= proj-4.3.3 +CATEGORIES= misc +MASTER_SITES= ftp://kai.er.usgs.gov/pub/Proj.4/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} PROJ.4.3.ps.gz \ + OF90-284.ps.gz SWISS.ps.gz + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://kai.er.usgs.gov/intro/MAPGENdetails.html + +WRKSRC= ${WRKDIR}/PROJ.4 +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +DIST_SUBDIR= ${PKGNAME} +GNU_CONFIGURE= YES +USE_GMAKE= YES +USE_LIBTOOL= YES + +do-build: + (cd ${WRKSRC}/src && ${GMAKE}) + +do-install: + (cd ${WRKSRC}/src && ${GMAKE} install) + ${INSTALL_DATA} ${WRKSRC}/src/projects.h ${PREFIX}/include + ${INSTALL_DATA_DIR} ${PREFIX}/share/proj + @for i in GL27 nad27 nad83 proj_def.dat world; do \ + c="${INSTALL_DATA} ${WRKSRC}/nad/$$i ${PREFIX}/share/proj/"; \ + ${ECHO} $$c; $$c; \ + done + @for i in ${WRKSRC}/man/man1/*; do \ + c="${INSTALL_DATA} $$i ${PREFIX}/man/man1/"; \ + ${ECHO} $$c; $$c; \ + done + ${INSTALL_DATA} ${WRKSRC}/man/man3/pj_init.3 ${PREFIX}/man/man3/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/proj + @for d in PROJ.4.3.ps.gz OF90-284.ps.gz SWISS.ps.gz; do \ + c="${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$d ${PREFIX}/share/doc/proj/"; \ + ${ECHO} $$c; $$c; \ + done + +.include "../../mk/bsd.pkg.mk" |