mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
fef02240ea
- Remove references to Tcl/Tk 8.3 from bsd.tcl.mk - Update ports that required 8.3+ to require 8.4+ (since 8.5 is the default, I don't expect this change to cause much trouble)
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# New ports collection makefile for: tclgeomap
|
|
# Date created: 25 August 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tclgeomap
|
|
PORTVERSION= 2.11.6
|
|
CATEGORIES= astro tcl
|
|
MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Read, manipulate, and display geo data
|
|
|
|
USE_TCL= 84+
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
|
TKPKG= ${PORTNAME}
|
|
PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG}
|
|
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:
|
|
@${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
|
|
|
|
post-patch:
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|