2006-08-25 16:08:57 +00:00
|
|
|
# New ports collection makefile for: tkgeomap
|
|
|
|
# Date created: 25 August 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tkgeomap
|
2007-07-18 11:24:38 +00:00
|
|
|
PORTVERSION= 2.11.4
|
2006-08-25 16:08:57 +00:00
|
|
|
CATEGORIES= astro tk84
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
|
|
COMMENT= Read, manipulate and display geo data
|
|
|
|
|
2007-04-02 22:56:15 +00:00
|
|
|
LIB_DEPENDS= tclgeomap.0:${PORTSDIR}/astro/tclgeomap
|
2006-08-25 16:08:57 +00:00
|
|
|
|
2006-12-03 04:23:23 +00:00
|
|
|
CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x \
|
2007-01-24 12:56:54 +00:00
|
|
|
--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR} \
|
|
|
|
--with-tk=${TK_LIBDIR} --with-tkinclude=${TK_INCLUDEDIR} \
|
2006-12-03 04:23:23 +00:00
|
|
|
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
2007-01-24 12:56:54 +00:00
|
|
|
CONFIGURE_ENV= TCLGEOMAP_LIB=${LOCALBASE}/lib/tclgeomap
|
2007-05-03 12:43:33 +00:00
|
|
|
USE_TK= 82+
|
2006-08-25 16:08:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
2007-01-24 12:56:54 +00:00
|
|
|
TKPKG= ${PORTNAME}
|
|
|
|
PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG}
|
2006-08-25 16:08:57 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
MANN= igeomap.n tkgeomap.n tkgeomap_procs.n wdgeomap.n
|
|
|
|
|
|
|
|
post-install:
|
2007-01-24 12:56:54 +00:00
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
|
2006-08-25 16:08:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
2007-01-24 12:56:54 +00: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 16:08:57 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|