2013-09-19 17:47:05 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-08-25 18:08:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tclgeomap
|
2011-02-21 21:06:15 +01:00
|
|
|
PORTVERSION= 2.11.6
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= astro tcl
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
|
2006-08-25 18:08:57 +02:00
|
|
|
|
2013-09-19 17:47:05 +02:00
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= Read, manipulate, and display geo data
|
2006-08-25 18:08:57 +02:00
|
|
|
|
2013-09-20 15:14:04 +02:00
|
|
|
NO_STAGE= yes
|
2013-09-19 17:47:05 +02:00
|
|
|
USES+= tcl
|
2006-08-25 18:08:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
|
2006-08-25 18:08:57 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
2007-01-24 13:56:54 +01:00
|
|
|
TKPKG= ${PORTNAME}
|
|
|
|
PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG}
|
2006-08-25 18:08:57 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
MAN3= geoLn.3 geoLnArr.3 geoLnArrToMap.3 geoProj.3 geography.3 mapLn.3 mapLnArr.3 tclgeomap.3
|
|
|
|
MANN= tclgeomap.n tclgeomap_procs.n
|
|
|
|
|
|
|
|
post-install:
|
2007-01-24 13:56:54 +01:00
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
|
2006-08-25 18:08:57 +02:00
|
|
|
|
|
|
|
post-patch:
|
2007-01-24 13:56:54 +01:00
|
|
|
@${REINPLACE_CMD} -e '/=.*PACKAGE_VERSION/s|$${PACKAGE_VERSION}||g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|@PACKAGE_VERSION@||g' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^package/!s|@PACKAGE_VERSION@||g' ${WRKSRC}/pkgIndex.tcl.in
|
|
|
|
@${REINPLACE_CMD} -e '2s|.*|exit 0|' ${WRKSRC}/mkLinks
|
2006-08-25 18:08:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|