diff options
author | skv <skv@FreeBSD.org> | 2009-02-24 21:29:22 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2009-02-24 21:29:22 +0800 |
commit | 872befb51d26885fa218e4062cc2f63459c7ddcd (patch) | |
tree | e0511daca5b4b0cb82bc55721f797edf3fa21a9d /www | |
parent | b77f8189e85d565569566af60052f899d974c382 (diff) | |
download | freebsd-ports-gnome-872befb51d26885fa218e4062cc2f63459c7ddcd.tar.gz freebsd-ports-gnome-872befb51d26885fa218e4062cc2f63459c7ddcd.tar.zst freebsd-ports-gnome-872befb51d26885fa218e4062cc2f63459c7ddcd.zip |
Use variables SITE_PERL and SITE_PERL_REL where appropriate.
Diffstat (limited to 'www')
-rw-r--r-- | www/cgi-lib.pl/Makefile | 2 | ||||
-rw-r--r-- | www/htmlpp/Makefile | 6 | ||||
-rw-r--r-- | www/p5-URI-Sequin/Makefile | 4 | ||||
-rw-r--r-- | www/wwwstat/Makefile | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/www/cgi-lib.pl/Makefile b/www/cgi-lib.pl/Makefile index 8c81b3e17fca..da299730aba1 100644 --- a/www/cgi-lib.pl/Makefile +++ b/www/cgi-lib.pl/Makefile @@ -22,7 +22,7 @@ NO_WRKSUBDIR= YES PLIST_FILES= %%SITE_PERL%%/cgi-lib.pl EXTRACT_AFTER_ARGS= > cgi-lib.pl -INSTALL_BASE= lib/perl5/site_perl/${PERL_VER} +INSTALL_BASE= ${SITE_PERL_REL} INSTALL_DIR= ${PREFIX}/${INSTALL_BASE} do-install: diff --git a/www/htmlpp/Makefile b/www/htmlpp/Makefile index 9fa3a2c6ac9f..3e721fc6de13 100644 --- a/www/htmlpp/Makefile +++ b/www/htmlpp/Makefile @@ -26,10 +26,10 @@ do-build: ${MV} ${WRKDIR}/htmlpp.temp ${WRKDIR}/htmlpp do-install: - ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER} + ${MKDIR} ${PREFIX}/${SITE_PERL_REL} ${INSTALL_SCRIPT} ${WRKDIR}/htmlpp ${PREFIX}/bin/htmlpp - ${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/htmlpp.d - (cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/$${FILE}; done) + ${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/${SITE_PERL_REL}/htmlpp.d + (cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/${SITE_PERL_REL}/$${FILE}; done) (cd ${WRKDIR}; for FILE in *.def; do ${INSTALL_DATA} $${FILE} ${PREFIX}/bin/$${FILE}; done) ${INSTALL_DATA} ${WRKDIR}/guru_opt.fmt ${PREFIX}/bin/guru.fmt (cd ${WRKDIR}; ${MKDIR} ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done) diff --git a/www/p5-URI-Sequin/Makefile b/www/p5-URI-Sequin/Makefile index 03a86201df62..d580168df987 100644 --- a/www/p5-URI-Sequin/Makefile +++ b/www/p5-URI-Sequin/Makefile @@ -21,9 +21,9 @@ MAN3= URI::Sequin.3 .ifndef (NOPORTDOCS) post-install: - @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples + @${MKDIR} ${PREFIX}/${SITE_PERL_REL}/URI/Sequin/examples @${INSTALL_DATA} ${WRKSRC}/example.pl ${WRKSRC}/ref?.log \ - ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples + ${PREFIX}/${SITE_PERL_REL}/URI/Sequin/examples .endif .include <bsd.port.mk> diff --git a/www/wwwstat/Makefile b/www/wwwstat/Makefile index 680f8264c8ae..6c196ae4ca7c 100644 --- a/www/wwwstat/Makefile +++ b/www/wwwstat/Makefile @@ -26,7 +26,7 @@ APACHE_COMPAT= yes MAKE_ENV+= PERL5=${PERL5} DIST_SUBDIR= wwwstat MAN1= wwwstat.1 splitlog.1 -SITEPERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} +SITEPERL= ${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH} do-install: @if [ ! -d ${SITEPERL} ]; then \ |