aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/proj/Makefile
blob: 8928756fa40c6f6abafde472e0977e191b4f078a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    proj
# Date created:             15 November 2001
# Whom:                 jedgar@FreeBSD.org
#
# $FreeBSD$

PORTNAME=       proj
PORTVERSION=    4.4.9
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.remotesensing.org/pub/proj/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${NADFILES}
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Cartographic Projections library

NADFILES=   proj-nad27-1.2.tar.gz

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes

MAN1=       cs2cs.1 geod.1 nad2nad.1 proj.1
MAN3=       pj_init.3

post-extract:
.for file in ${NADFILES}
    @cd ${WRKSRC}/nad && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${file} ${EXTRACT_AFTER_ARGS}
.endfor

.include <bsd.port.mk>