aboutsummaryrefslogtreecommitdiffstats
path: root/astro/tclgeomap
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-12-03 12:23:23 +0800
committersat <sat@FreeBSD.org>2006-12-03 12:23:23 +0800
commitc24d38eccf3889acceef2ef7ddbd582812cc339d (patch)
tree9ff0e020a0f2b89acf4e4f00c6a1597553a956c5 /astro/tclgeomap
parent25c5d8a7b27ec97d4df5570869b29e9642c2661c (diff)
downloadfreebsd-ports-gnome-c24d38eccf3889acceef2ef7ddbd582812cc339d.tar.gz
freebsd-ports-gnome-c24d38eccf3889acceef2ef7ddbd582812cc339d.tar.zst
freebsd-ports-gnome-c24d38eccf3889acceef2ef7ddbd582812cc339d.zip
- Respect X11BASE
- Add some forgotten changes Reported by: pointyhat via kris
Diffstat (limited to 'astro/tclgeomap')
-rw-r--r--astro/tclgeomap/Makefile8
-rw-r--r--astro/tclgeomap/pkg-plist4
2 files changed, 7 insertions, 5 deletions
diff --git a/astro/tclgeomap/Makefile b/astro/tclgeomap/Makefile
index e415d9afbc98..0190ef3cd163 100644
--- a/astro/tclgeomap/Makefile
+++ b/astro/tclgeomap/Makefile
@@ -20,7 +20,7 @@ USE_TCL= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
PLIST_SUB= INC=include/${PORTNAME} \
- LIB=lib/${PORTNAME}
+ LIB=lib/${PORTNAME} VER=${PORTVERSION}
MAKE_ENV= MKLINKS_FLAGS=-s
USE_LDCONFIG= yes
@@ -180,8 +180,10 @@ MLINKS= \
tclgeomap_procs.n ocean_list.n
post-install:
- @${LN} -sf ${PREFIX}/lib/libtclgeomap2.9.so ${PREFIX}/lib/libtclgeomap2.9.so.0
- @${LN} -sf ${PREFIX}/lib/libtclgeomap2.9.so ${PREFIX}/lib/libtclgeomap.so.0
+ @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so \
+ ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so.0
+ @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so \
+ ${PREFIX}/lib/lib${PORTNAME}.so.0
post-patch:
@${REINPLACE_CMD} -e 's/@PACKAGE@@VERSION@/@PACKAGE@/g' ${WRKSRC}/Makefile.in ${WRKSRC}/pkgIndex.tcl.in
diff --git a/astro/tclgeomap/pkg-plist b/astro/tclgeomap/pkg-plist
index 848dc7e1aa80..cdccffac71f7 100644
--- a/astro/tclgeomap/pkg-plist
+++ b/astro/tclgeomap/pkg-plist
@@ -1,6 +1,6 @@
lib/libtclgeomap.so.0
-lib/libtclgeomap2.9.so
-lib/libtclgeomap2.9.so.0
+lib/libtclgeomap%%VER%%.so
+lib/libtclgeomap%%VER%%.so.0
%%INC%%/geoLines.h
%%INC%%/geoLnArrToMap.h
%%INC%%/geoProj.h