mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
3f1ee017c1
PR: 179221 Submitted by: Ports Fury
39 lines
1018 B
Makefile
39 lines
1018 B
Makefile
# Created by: Randall Hopper <aa8vb@nc.rr.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gctpc
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= misc geography
|
|
MASTER_SITES= http://edcftp.cr.usgs.gov/pub/software/gctpc/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= USGS General Cartographic Transformation Package (GCTP)
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/source
|
|
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= libgctpc.so.1
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/* ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/../README ${DOCSDIR}/README.main
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|