summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
commitec7b561464bf844cc65b843d4f531945aa1d09fc (patch)
treeacf3f96eca894e3e032f914d0b0e69216c46a7ae /www
parentupgrade to 0.9.7 (diff)
${PREFIX}/share/${PORTNAME} --> ${DATADIR}
Diffstat (limited to 'www')
-rw-r--r--www/p5-Apache-MP3/Makefile5
-rw-r--r--www/tclhttpd/Makefile14
2 files changed, 9 insertions, 10 deletions
diff --git a/www/p5-Apache-MP3/Makefile b/www/p5-Apache-MP3/Makefile
index c2041ecf2c63..225f1d90176f 100644
--- a/www/p5-Apache-MP3/Makefile
+++ b/www/p5-Apache-MP3/Makefile
@@ -27,9 +27,8 @@ MAN3= Apache::MP3.3 \
Apache::MP3::Resample.3 \
Apache::MP3::Sorted.3
-PKGDATADIR= ${PREFIX}/share/${PORTNAME}
post-install:
- ${MKDIR} ${PKGDATADIR}
- ${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${PKGDATADIR}
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${DATADIR}
.include <bsd.port.mk>
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>