aboutsummaryrefslogtreecommitdiffstats
path: root/www/tclhttpd
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 21:54:22 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-10 21:54:22 +0800
commit1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a (patch)
treecfd6e21c18881279da5bd12975849568e01c0dcb /www/tclhttpd
parent04e349593148d329874b32ea7bec7c84827ee18a (diff)
downloadfreebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.tar.gz
freebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.tar.zst
freebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.zip
${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 4ac69f0ae000..61c92fa538ec 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>