summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-14 09:35:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-14 09:35:20 +0000
commitb0b910d5b72ccf6272e15e27e0d85a1f84ef24c3 (patch)
treeeac21b0e7d531809570eaae1a395b6c0646c4e15 /www
parentUpdate the plist to install-info --delete and update the description a little. (diff)
o Fix build by replacing custom do-build target with set of stock
MAKEFILE/MAKE_ENV/MAKE_ARGS variables. o Slightly reorder variables to make Makefile more readable. Submitted by: bento
Notes
Notes: svn path=/head/; revision=39820
Diffstat (limited to 'www')
-rw-r--r--www/tclhttpd/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile
index c97043b91c9b..da549e1e8180 100644
--- a/www/tclhttpd/Makefile
+++ b/www/tclhttpd/Makefile
@@ -19,20 +19,21 @@ LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
TCL_DVER?= 8.3
TCL_VER= ${TCL_DVER:S/.//}
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl="${LOCALBASE}/lib/tcl${TCL_DVER}" \
--with-tclinclude="${LOCALBASE}/include/tcl${TCL_DVER}"
-RCD= ${LOCALBASE}/etc/rc.d/tclhttpd.sh
-
-.include <bsd.port.pre.mk>
-SHLIB_NAME!= ${MAKE} -f "${FILESDIR}/Makefile.lib" ech
+MAKEFILE= ${FILESDIR}/Makefile.lib
+MAKE_ENV= TCL_DVER="${TCL_DVER}" FILESDIR="${FILESDIR}"
+MAKE_ARGS= -j2
PLIST_SUB+= TCL_VER=${TCL_VER} PORTVERSION=${PORTVERSION} \
SHLIB_NAME=${SHLIB_NAME}
-do-build:
- cd ${WRKSRC} && ${MAKE} -j 2 TCL_DVER="${TCL_DVER}" \
- FILESDIR="${FILESDIR}" -f "${FILESDIR}/Makefile.lib"
+RCD= ${LOCALBASE}/etc/rc.d/tclhttpd.sh
+
+.include <bsd.port.pre.mk>
+SHLIB_NAME!= ${MAKE} -f ${MAKEFILE} ech
pre-install:
${MKDIR} ${LOCALBASE}/tclhttpd/custom