summaryrefslogtreecommitdiff
path: root/devel/tcl-trf
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-03-29 17:43:34 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-03-29 17:43:34 +0000
commitdbcd2ea33340925a82bffce7aaeb1834101da957 (patch)
treef288c7500bb009b35136a56d11f681764eeedea6 /devel/tcl-trf
parentAdd new MASTER_SITES (diff)
Make work with the new bsd.port.mk. The benefit of the magick, that
used to work to figure out the name of the installed library automaticly is, probably, not worth the disadvantages USE_SUBMAKE would bring. Just hardcode the SHLIB_NAME and figure the SHLIB_LINK from it. While I'm here, add tcl-memchan to the BUILD_DEPEND, so the automatic self-testing is done every time this package is built Submitted by: bento
Notes
Notes: svn path=/head/; revision=56882
Diffstat (limited to 'devel/tcl-trf')
-rw-r--r--devel/tcl-trf/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index 8f211864a79b..4420a1239584 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -15,7 +15,8 @@ DISTNAME= trf${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
-BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
+BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//} \
+ ${LOCALBASE}/lib/tcl${TCL_VER}/Memchan/pkgIndex.tcl:${PORTSDIR}/devel/tcl-memchan
USE_BZIP2= yes
@@ -57,9 +58,7 @@ post-install:
.include <bsd.port.mk>
-.if exists(${WRKSRC}/${MAKEFILE})
-SHLIB_NAME!= ${MAKE} -f ${WRKSRC}/${MAKEFILE} -V Trf_LIB_FILE
+SHLIB_NAME= libTrf2.so.1
SHLIB_LINK= ${SHLIB_NAME:C/\.so\..*/.so/}
-.endif
PLIST_SUB+= SHLIB_NAME=${SHLIB_NAME} SHLIB_LINK=${SHLIB_LINK}