aboutsummaryrefslogtreecommitdiffstats
path: root/astro/tkgeomap
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-09-19 23:47:05 +0800
committergahr <gahr@FreeBSD.org>2013-09-19 23:47:05 +0800
commite6b1be6bc4328a146229abd7a1ce42cbcb6b25e4 (patch)
tree3d3d7fe64a832f72cf631605d6273617fde4b369 /astro/tkgeomap
parentc3593b0aaf7632ef83b24dcf182d69b998196ffe (diff)
downloadfreebsd-ports-gnome-e6b1be6bc4328a146229abd7a1ce42cbcb6b25e4.tar.gz
freebsd-ports-gnome-e6b1be6bc4328a146229abd7a1ce42cbcb6b25e4.tar.zst
freebsd-ports-gnome-e6b1be6bc4328a146229abd7a1ce42cbcb6b25e4.zip
- Take maintainership (tcltk@)
- Convert to USES+=tcl - Trim Makefile headers - Fix run-time (tkgeomap)
Diffstat (limited to 'astro/tkgeomap')
-rw-r--r--astro/tkgeomap/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/astro/tkgeomap/Makefile b/astro/tkgeomap/Makefile
index 8f8b4e995699..c61bbd9adffa 100644
--- a/astro/tkgeomap/Makefile
+++ b/astro/tkgeomap/Makefile
@@ -1,36 +1,31 @@
-# New ports collection makefile for: tkgeomap
-# Date created: 25 August 2006
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= tkgeomap
PORTVERSION= 2.11.6
CATEGORIES= astro tk
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tcltk@FreeBSD.org
COMMENT= Read, manipulate, and display geo data
-LIB_DEPENDS= tclgeomap.0:${PORTSDIR}/astro/tclgeomap
+LIB_DEPENDS= libtclgeomap.so:${PORTSDIR}/astro/tclgeomap
CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x \
--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR} \
--with-tk=${TK_LIBDIR} --with-tkinclude=${TK_INCLUDEDIR} \
--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
-CONFIGURE_ENV= TCLGEOMAP_LIB=${LOCALBASE}/lib/tclgeomap
-USE_TK= 84+
+MAKE_ENV+= TCLGEOMAP_LIB="-L ${LOCALBASE}/lib -ltclgeomap"
+USES+= tk
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
-TKPKG= ${PORTNAME}
-PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG}
+PLIST_SUB= INC=include/${PORTNAME} LIB=lib/${PORTNAME}
USE_LDCONFIG= yes
MANN= igeomap.n tkgeomap.n tkgeomap_procs.n wdgeomap.n
post-install:
- @${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
+ @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
post-patch:
@${REINPLACE_CMD} -e '/=.*PACKAGE_VERSION/s|$${PACKAGE_VERSION}||g' ${WRKSRC}/configure