efba08022f
Approved by: maintainer(implicity)
42 lines
932 B
Makefile
42 lines
932 B
Makefile
# New ports collection makefile for: proj
|
|
# Date created: 15 November 2001
|
|
# Whom: jedgar@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= proj
|
|
PORTVERSION= 4.8.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics geography
|
|
MASTER_SITES= ftp://ftp.remotesensing.org/proj/ \
|
|
http://download.osgeo.org/proj/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATUM_GRID_FILES}
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
|
COMMENT= Cartographic Projections library
|
|
|
|
CONFLICTS= proj4-[0-9]*
|
|
|
|
DATUM_GRID_FILES= proj-datumgrid-1.5.zip
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_ZIP= yes
|
|
|
|
MAN1= cs2cs.1 geod.1 proj.1
|
|
MAN3= pj_init.3
|
|
|
|
post-extract:
|
|
@${UNZIP_CMD} -q ${DISTDIR}/${DATUM_GRID_FILES} -d ${WRKSRC}/nad
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$${PREFIX}/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${CP} ${WRKSRC}/src/projects.h ${PREFIX}/include/
|
|
|
|
.include <bsd.port.mk>
|