diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-02-15 07:34:07 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-02-15 07:34:07 +0000 |
commit | daa8cb06f00b9558795f1028a6e661fb43ffe666 (patch) | |
tree | 8f6b82127b9767b676e72b573a665a5349295c36 /devel/tcl-trf/Makefile | |
parent | 3a8c644cc8178d9a113eae682cfeae562600eaa2 (diff) | |
download | ports-daa8cb06f00b9558795f1028a6e661fb43ffe666.tar.gz ports-daa8cb06f00b9558795f1028a6e661fb43ffe666.zip |
Notes
Diffstat (limited to 'devel/tcl-trf/Makefile')
-rw-r--r-- | devel/tcl-trf/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile new file mode 100644 index 000000000000..d88c8566d552 --- /dev/null +++ b/devel/tcl-trf/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: tcl-Trf +# Date created: May 22, 2000 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +PORTNAME= Trf +PORTVERSION= 2.1p2 +CATEGORIES= devel tcl83 +MASTER_SITES= http://www.oche.de/~akupries/soft/trf/download/ +PKGNAMEPREFIX= tcl- +DISTNAME= trf${PORTVERSION} + +MAINTAINER= mi@aldan.algebra.com + +BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//} + +USE_BZIP2= yes + +ALL_TARGET= all test +MAKE_ARGS+= -j2 + +TCL_VER?= 8.3 +DDIR= ${PREFIX}/lib/tcl${TCL_VER}/Trf + +MAKE_ENV+= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \ + INSTALL_DATA="${INSTALL_DATA}" + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} \ + --with-tclinclude=${LOCALBASE}/include/tcl${TCL_VER} \ + --enable-static-zlib --enable-static-bzlib \ + --enable-static-md5 +CONFIGURE_ENV+= CFLAGS_OPTIMIZE="${CFLAGS}" + +post-install: + ${LN} -sf ${SHLIB_NAME} ${PREFIX}/lib/${SHLIB_LINK} +.ifndef(NOPORTDOCS) + ${RM} -f ${WRKSRC}/doc/html/*.orig + ${MKDIR} ${DOCSDIR} + ${CP} -pR ${WRKSRC}/doc/html/* ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/painless-guide-to-crc.txt ${DOCSDIR} +.endif + +.include <bsd.port.mk> + +.if exists(${WRKSRC}/${MAKEFILE}) +SHLIB_NAME!= ${MAKE} -f ${WRKSRC}/${MAKEFILE} -V Trf_LIB_FILE +SHLIB_LINK= ${SHLIB_NAME:C/\.so\..*/.so/} +.endif + +PLIST_SUB+= SHLIB_NAME=${SHLIB_NAME} SHLIB_LINK=${SHLIB_LINK} |