aboutsummaryrefslogtreecommitdiffstats
path: root/misc/projectionlib/Makefile
blob: 2919d976e0ad3606cfa72608400090532dec3788 (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
32
33
34
35
36
# New ports collection makefile for:    ProjectionLib library from VTP
# Date created:             26 Apr 2001
# Whom:                 Randall Hopper <aa8vb@nc.rr.com>
#
# $FreeBSD$
#

PORTNAME=   projectionlib
PORTVERSION=    3.7
CATEGORIES= misc
MASTER_SITES=   http://thor-f5.er.usgs.gov/viewers/dlgv32/
DISTNAME=   dlgv32v37src

MAINTAINER= ports@FreeBSD.org
COMMENT=    A C++ wrapper for the USGS GCTP projection library

LIB_DEPENDS=    gctpc.1:${PORTSDIR}/misc/gctpc

WRKSRC=     ${WRKDIR}/dlgv32/ProjectionLib

USE_ZIP=    yes
USE_DOS2UNIX=   *.cpp *.h
USE_LDCONFIG=   yes
MAKEFILE=   ${FILESDIR}/Makefile

post-install:
    ${MKDIR} ${PREFIX}/include/ProjectionLib
    ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/ProjectionLib

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 900000
BROKEN=     does not patch
.endif

.include <bsd.port.post.mk>