aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gctpc/Makefile
blob: 05b36fb54d7d2952107ee7fd1d94c33ee8daa4ec (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:    gctpc
# Date created:             26 Apr 2001
# Whom:                 Randall Hopper <aa8vb@nc.rr.com>
#
# $FreeBSD$
#

PORTNAME=   gctpc
PORTVERSION=    1.3
CATEGORIES= misc
MASTER_SITES=   http://edc.usgs.gov/pub/software/gctpc/
DISTNAME=   gctpc
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    An USGS General Cartographic Transformation Package (GCTP)

WRKSRC=     ${WRKDIR}/${PORTNAME}/source

USE_GMAKE=  yes
ALL_TARGET= libgctpc.so.1

INSTALLS_SHLIB= yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${PREFIX}/lib
    ${INSTALL_PROGRAM} ${WRKSRC}/libgctpc.so.1 ${PREFIX}/lib
    ${LN} -sf libgctpc.so.1 ${PREFIX}/lib/libgctpc.so
    ${MKDIR} ${PREFIX}/include/gctpc
    ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/gctpc
    ${INSTALL_DATA} ${FILESDIR}/*.h ${PREFIX}/include/gctpc
    ${MKDIR} ${PREFIX}/share/doc/gctpc
    ${INSTALL_MAN} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/gctpc
    ${INSTALL_MAN} ${WRKSRC}/../README ${PREFIX}/share/doc/gctpc/README.main

.include <bsd.port.mk>