diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-03-29 17:43:34 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-03-29 17:43:34 +0000 |
commit | dbcd2ea33340925a82bffce7aaeb1834101da957 (patch) | |
tree | f288c7500bb009b35136a56d11f681764eeedea6 /devel/tcl-trf | |
parent | Add 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
Diffstat (limited to 'devel/tcl-trf')
-rw-r--r-- | devel/tcl-trf/Makefile | 7 |
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} |