diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2003-05-20 07:26:34 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2003-05-20 07:26:34 +0000 |
commit | f7e21a2e0df090ae6d829a8966c10de3101d016c (patch) | |
tree | 92141c003ca3853fdbe541c01161ccb53ece89d2 /devel/bugzilla/Makefile | |
parent | 2b0ede52bf93ae98ca1410ba888f744360b17315 (diff) | |
download | ports-f7e21a2e0df090ae6d829a8966c10de3101d016c.tar.gz ports-f7e21a2e0df090ae6d829a8966c10de3101d016c.zip |
- Fix something which has been broken in this port for a long time:
installation to ${PREFIX}/www/data.default. "data.default" was an artifact
of a long obsolete version of the Apache port. Put installation directory
under control of a variable $BUGZILLADIR instead. Carry through to
pkg-plist via a pragma.
- Bump $PORTREVISION.
Notes
Notes:
svn path=/head/; revision=81526
Diffstat (limited to 'devel/bugzilla/Makefile')
-rw-r--r-- | devel/bugzilla/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile index d2addb13d6ac..db944c1a0f25 100644 --- a/devel/bugzilla/Makefile +++ b/devel/bugzilla/Makefile @@ -7,6 +7,7 @@ PORTNAME= bugzilla PORTVERSION= 2.16.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://ftp.mozilla.org/pub/${MASTER_SITE_SUBDIR}/ \ ${MASTER_SITE_MOZILLA} @@ -49,11 +50,13 @@ PKGMESSAGE= ${WRKDIR}/pkg-message PERL_SITEDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -BUGZILLADIR= ${PREFIX}/www/data.default/bugzilla +BUGZILLADIR?= www/data/bugzilla BUGZILLADOCS= html images txt rel_notes.txt BONSAIPERLWC= *.cgi *.pl *.pm processmail syncshadowdb contrib/*.pl SENDMAILWC= *.pl *.pm processmail contrib/*.pl +PLIST_SUB+= BUGZILLADIR=${BUGZILLADIR} + pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following options:" @@ -69,7 +72,7 @@ pre-everything:: @${ECHO_MSG} " other bugzilla installations" @${ECHO_MSG} "" @${ECHO_MSG} " WITH_CONTRIB to install various user-contributed scripts," - @${ECHO_MSG} " e.g. to import bugs from other databases, to + @${ECHO_MSG} " e.g. to import bugs from other databases, to" @${ECHO_MSG} " allow follow-ups/submissions by e-mail etc." @${ECHO_MSG} "" @@ -95,21 +98,21 @@ pre-install: @find ${WRKSRC}/docs -type f -exec ${CHOWN} root:wheel {} \; do-install: - ${MKDIR} ${BUGZILLADIR} + ${MKDIR} ${PREFIX}/${BUGZILLADIR} find ${WRKSRC} \! -type d -maxdepth 1 \! -name UPGRADING* -exec \ - ${INSTALL_SCRIPT} {} ${BUGZILLADIR} \; - ${TAR} -C ${WRKSRC} -cf - template css | ${TAR} --unlink -C ${BUGZILLADIR} -xf - + ${INSTALL_SCRIPT} {} ${PREFIX}/${BUGZILLADIR} \; + ${TAR} -C ${WRKSRC} -cf - template css | ${TAR} --unlink -C ${PREFIX}/${BUGZILLADIR} -xf - .if !defined(NOPORTSDOCS) ${MKDIR} ${DOCSDIR} ${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} --unlink -C ${DOCSDIR} -xf - .endif .if defined(WITH_CONTRIB) - ${MKDIR} ${BUGZILLADIR}/contrib ${BUGZILLADIR}/contrib/cmdline + ${MKDIR} ${PREFIX}/${BUGZILLADIR}/contrib ${PREFIX}/${BUGZILLADIR}/contrib/cmdline cd ${WRKSRC}/contrib; ${INSTALL_SCRIPT} BugzillaEmail.pm bug_email.pl \ bugzilla_email_append.pl cvs-update.sh gnats2bz.pl jb2bz.py \ - mysqld-watcher.pl yp_nomail.sh ${BUGZILLADIR}/contrib + mysqld-watcher.pl yp_nomail.sh ${PREFIX}/${BUGZILLADIR}/contrib cd ${WRKSRC}/contrib/cmdline; ${INSTALL_SCRIPT} buglist bugs \ - query.conf ${BUGZILLADIR}/contrib/cmdline + query.conf ${PREFIX}/${BUGZILLADIR}/contrib/cmdline .if !defined(NOPORTSDOCS) ${MKDIR} ${DOCSDIR}/contrib cd ${WRKSRC}/contrib; ${INSTALL_DATA} README README.Mailif \ |