summaryrefslogtreecommitdiffstats
path: root/devel/tcl-memchan/Makefile
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-01-26 18:17:09 +0000
committermi <mi@FreeBSD.org>2002-01-26 18:17:09 +0000
commit235fe58cbcfeea0dfcc3e3a05306cf452dc99d28 (patch)
tree82d942c4c626b14446739a47963fc2c81ef95af3 /devel/tcl-memchan/Makefile
parent5de5b64e63d30ca1b729a092ae7bafc053486bf4 (diff)
downloadFreeBSD-ports-235fe58cbcfeea0dfcc3e3a05306cf452dc99d28.zip
FreeBSD-ports-235fe58cbcfeea0dfcc3e3a05306cf452dc99d28.tar.gz
Upgrade this from 2.1p3 to 2.2a2 (thanks to fenner's script for the heads
up). Including: . give up trying to fix the configure and switch to Mskefile.bsd; . use the tests bundled with the software (currently -- three); . don't install the HTML documentation -- the man-pages are now available -- generated from the same source as HTML files; . don't compile the stubs support and install the library next to its pkgIndex.tcl under the lib/tcl${TCL_VER}/; . the project now lives on SourceForge.
Diffstat (limited to 'devel/tcl-memchan/Makefile')
-rw-r--r--devel/tcl-memchan/Makefile45
1 files changed, 20 insertions, 25 deletions
diff --git a/devel/tcl-memchan/Makefile b/devel/tcl-memchan/Makefile
index 2d8fe67..5333992 100644
--- a/devel/tcl-memchan/Makefile
+++ b/devel/tcl-memchan/Makefile
@@ -6,43 +6,38 @@
#
PORTNAME= memchan
-PORTVERSION= 2.1p3
+PORTVERSION= 2.2a2
CATEGORIES= devel tcl83
-MASTER_SITES= http://www.oche.de/~akupries/soft/memchan/download/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
PKGNAMEPREFIX= tcl-
DISTNAME= memchan${PORTVERSION}
+MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= mi@aldan.algebra.com
-BUILD_DEPENDS= tclsh${TCLV}:${PORTSDIR}/lang/tcl${TCLVND}
-.if !exists(/usr/bin/bzip2)
-LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2
-.endif
+BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
USE_BZIP2= yes
-USE_OPENSSL= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+MAKE_ARGS+= -j2
-GNU_CONFIGURE= yes
-PLIST_SUB+= TCLV=${TCLV} TCLVND=${TCLVND}
-CONFIGURE_ARGS= --with-tcl-include-dir=${PREFIX}/include/tcl${TCLV} \
- --with-tcl-lib-dir=${PREFIX}/lib/tcl${TCLV}
+TCL_VER?= 8.3
+DDIR= ${PREFIX}/lib/tcl${TCL_VER}/Trf
-#ALL_TARGET= library
+MAKE_ENV+= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
+ INSTALL_DATA="${INSTALL_DATA}"
-TCLV?= 8.3
-TCLVND= ${TCLV:S/.//}
-DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf
+# Too bad, n is no longer an acceptable section for bsd.man.mk
+MANN= memchan.n fifo.n fifo2.n null.n
-do-install:
- ${MKDIR} ${PREFIX}/lib/tcl${TCLV}/memchan
- ${INSTALL_DATA} ${WRKSRC}/libmemchan.so.1 ${PREFIX}/lib/
- ${SED} 's@%%PREFIX%%@${PREFIX}@g' < ${FILESDIR}/pkgIndex.tcl \
- > ${PREFIX}/lib/tcl${TCLV}/memchan/pkgIndex.tcl
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/memchan
- ${CP} -pR ${WRKSRC}/../doc/html/* ${PREFIX}/share/doc/memchan/
-.endif
+post-install:
+ cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MANN} ${PREFIX}/man/mann
+#.ifndef(NOPORTDOCS)
+# ${MKDIR} ${DOCSDIR}
+# ${CP} -pR ${WRKSRC}/doc/html/* ${DOCSDIR}
+#.endif
.include <bsd.port.mk>
+
+PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env
OpenPOWER on IntegriCloud