diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-02-12 04:36:05 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-02-12 04:36:05 +0000 |
commit | 12de0893b7b2651b391c4142a3f40b3ee00e50fb (patch) | |
tree | 96716ac77ec0a3e725f2556c48259ae9391f4334 /devel/bugzilla2 | |
parent | 9a466711fd2cc341a7fbf55ab1d18925004d5bde (diff) | |
download | ports-12de0893b7b2651b391c4142a3f40b3ee00e50fb.tar.gz ports-12de0893b7b2651b391c4142a3f40b3ee00e50fb.zip |
Notes
Diffstat (limited to 'devel/bugzilla2')
-rw-r--r-- | devel/bugzilla2/Makefile | 31 | ||||
-rw-r--r-- | devel/bugzilla2/pkg-message | 4 |
2 files changed, 20 insertions, 15 deletions
diff --git a/devel/bugzilla2/Makefile b/devel/bugzilla2/Makefile index 674dc0b7ac1d..f0551d57a59b 100644 --- a/devel/bugzilla2/Makefile +++ b/devel/bugzilla2/Makefile @@ -7,31 +7,34 @@ PORTNAME= bugzilla PORTVERSION= 2.16.4 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= webtools -MAINTAINER= ports@FreeBSD.org -COMMENT= Bug-tracking system developed by Mozilla Project +MAINTAINER?= ports@FreeBSD.org +COMMENT?= Bug-tracking system developed by Mozilla Project -RUN_DEPENDS= ${PERL_SITEDIR}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql \ - ${PERL_SITEDIR}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \ - ${PERL_SITEDIR}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \ - ${PERL_SITEDIR}/Text/Wrap.pm:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql \ + ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \ + ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \ + ${SITE_PERL}/Text/Wrap.pm:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap .if !defined(WITHOUT_BUG_CHARTING_MODULES) -RUN_DEPENDS+= ${PERL_SITEDIR}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ - ${PERL_SITEDIR}/Chart/Base.pm:${PORTSDIR}/graphics/p5-chart +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ + ${SITE_PERL}/Chart/Base.pm:${PORTSDIR}/graphics/p5-chart .endif .if defined(WITH_BUG_MAILING_MODULES) -RUN_DEPENDS+= ${PERL_SITEDIR}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools +RUN_DEPENDS+= ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools .endif .if defined(WITH_BUG_EXPORT_AND_IMPORT) -RUN_DEPENDS+= ${PERL_SITEDIR}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser .endif +CONFLICTS?= ja-bugzilla-* + .if defined(WITH_CONTRIB) PLIST_SUB+= CONTRIB="" .else @@ -44,8 +47,6 @@ NO_BUILD= yes BINMODE= 700 PKGMESSAGE= ${WRKDIR}/pkg-message -PERL_SITEDIR= ${SITE_PERL} - BUGZILLADIR?= www/data/bugzilla BUGZILLADOCS= html images txt rel_notes.txt BONSAIPERLWC= *.cgi *.pl *.pm processmail syncshadowdb contrib/*.pl @@ -117,7 +118,11 @@ do-install: .endif post-install: - @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message >${PKGMESSAGE} + @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ + -e "s:%%BUGZILLADIR%%:${BUGZILLADIR}:g" \ + -e "s:%%PORTDOCS%%:${PORTDOCS}:g" \ + -e "s:%%DOCSDIR%%:${DOCSDIR}:g" \ + ${MASTERDIR}/pkg-message >${PKGMESSAGE} .if !defined(BATCH) @${ECHO_MSG} @${CAT} ${PKGMESSAGE} diff --git a/devel/bugzilla2/pkg-message b/devel/bugzilla2/pkg-message index 710c7a22ff23..9ed26d988aa0 100644 --- a/devel/bugzilla2/pkg-message +++ b/devel/bugzilla2/pkg-message @@ -12,11 +12,11 @@ owner; <host> is a host there bugzilla is being setup; <password> is a database owner's password; - 2. Change working directory to %%PREFIX%%/%%BUGZILLADIR%%/bugzilla + 2. Change working directory to %%PREFIX%%/%%BUGZILLADIR%% 3. Run "./checksetup.pl" script as root user 4. Read output carefully and follow all instructions For more complete database setup and post-installation instructions and security tips/notes please read Bugzilla Guide in - %%PREFIX%%/share/doc/bugzilla (chapter 3: Installation) + %%PORTDOCS%%%%DOCSDIR%% (chapter 3: Installation) ========================================================================== |