summaryrefslogtreecommitdiffstats
path: root/www/tclhttpd
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
committersobomax <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
commit1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a (patch)
treecfd6e21c18881279da5bd12975849568e01c0dcb /www/tclhttpd
parent04e349593148d329874b32ea7bec7c84827ee18a (diff)
downloadFreeBSD-ports-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.zip
FreeBSD-ports-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.tar.gz
${PREFIX}/share/${PORTNAME} --> ${DATADIR}
Diffstat (limited to 'www/tclhttpd')
-rw-r--r--www/tclhttpd/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile
index 4ac69f0..61c92fa 100644
--- a/www/tclhttpd/Makefile
+++ b/www/tclhttpd/Makefile
@@ -38,24 +38,24 @@ do-build:
FILESDIR="${FILESDIR}" -f "${FILESDIR}/Makefile.lib"
pre-install:
- ${MKDIR} ${LOCALBASE}/tclhttpd/custom
+ ${MKDIR} ${PREFIX}/tclhttpd/custom
post-install:
test -e ${RCD} || ${SED} \
"s%COMMAND_LINE%${LOCALBASE}/bin/tclsh${TCL_DVER} ${PREFIX}/bin/httpd.tcl%" \
< ${FILESDIR}/tclhttpd.sh > ${RCD}
- ${CHOWN} -R nobody ${LOCALBASE}/share/${PORTNAME}${PORTVERSION}
+ ${CHOWN} -R nobody ${DATADIR}${PORTVERSION}
${CHMOD} +x ${RCD}
${INSTALL_DATA} ${WRKSRC}/${SHLIB_NAME} \
- ${LOCALBASE}/lib/${PORTNAME}${PORTVERSION}/${SHLIB_NAME}
+ ${PREFIX}/lib/${PORTNAME}${PORTVERSION}/${SHLIB_NAME}
${INSTALL_SCRIPT} ${WRKSRC}/bin/httpd.tcl \
- ${WRKSRC}/bin/httpdthread.tcl ${LOCALBASE}/bin/
+ ${WRKSRC}/bin/httpdthread.tcl ${PREFIX}/bin/
${SED} 's%@VER@%${PORTVERSION}%g' < ${WRKSRC}/bin/tclhttpd.rc \
- > ${LOCALBASE}/etc/tclhttpd.rc.default
- cd ${LOCALBASE}/etc; test -e tclhttpd.rc || \
+ > ${PREFIX}/etc/tclhttpd.rc.default
+ cd ${PREFIX}/etc; test -e tclhttpd.rc || \
${CP} -p tclhttpd.rc.default tclhttpd.rc
${SED} 's%@LIB@%${SHLIB_NAME}%g' < \
${FILESDIR}/pkgIndex.tcl >> \
- ${LOCALBASE}/lib/${PORTNAME}${PORTVERSION}/pkgIndex.tcl
+ ${PREFIX}/lib/${PORTNAME}${PORTVERSION}/pkgIndex.tcl
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud