diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-10-28 09:46:47 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-10-28 09:46:47 +0000 |
commit | 51f86913f74ae0fed2b54692e829a6521b0adbb5 (patch) | |
tree | 68e461f51dcfcb5b5e8581d966ff069ad4654905 /databases/gnatsweb4 | |
parent | 1d0aeeaa65a13d502c81f6be5ae4eb4f737c4b68 (diff) | |
download | ports-51f86913f74ae0fed2b54692e829a6521b0adbb5.tar.gz ports-51f86913f74ae0fed2b54692e829a6521b0adbb5.zip |
Notes
Diffstat (limited to 'databases/gnatsweb4')
-rw-r--r-- | databases/gnatsweb4/Makefile | 63 | ||||
-rw-r--r-- | databases/gnatsweb4/distinfo | 1 | ||||
-rw-r--r-- | databases/gnatsweb4/pkg-descr | 8 | ||||
-rw-r--r-- | databases/gnatsweb4/pkg-plist | 19 |
4 files changed, 91 insertions, 0 deletions
diff --git a/databases/gnatsweb4/Makefile b/databases/gnatsweb4/Makefile new file mode 100644 index 000000000000..4ddbcc32dd83 --- /dev/null +++ b/databases/gnatsweb4/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: gnatsweb4 +# Date created: 20 Sep 2003 +# Whom: Oliver Eikemeier <eikemeier@fillmore-labs.com> +# +# $FreeBSD$ +# + +PORTNAME= gnatsweb +PORTVERSION= 4.00 +CATEGORIES= databases devel www +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= gnatsweb + +MAINTAINER= eikemeier@fillmore-labs.com +COMMENT= Gnatsweb, a GNATS web interface + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 + +.ifdef WITH_APACHE2 +RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2 +.endif + +USE_PERL5_RUN= yes +NO_BUILD= yes + +CGI_DIR?= ${PREFIX}/www/cgi-bin + +PLIST_SUB= CGI_DIR="${CGI_DIR:S,^${PREFIX}/,,}" + +DOCFILES= CUSTOMIZE CUSTOMIZE.cb CUSTOMIZE.vars \ + ChangeLog INSTALL NEWS README TROUBLESHOOTING + +EXAMPLEFILES= gnatsweb-site-example.pl + +do-install: + @${MKDIR} ${PREFIX}/etc/gnatsweb + @${INSTALL_DATA} ${WRKSRC}/gnatsweb-site.pl \ + ${PREFIX}/etc/gnatsweb/gnatsweb-site.pl.default + @[ -f ${PREFIX}/etc/gnatsweb/gnatsweb-site.pl ] || \ + ${INSTALL_DATA} ${WRKSRC}/gnatsweb-site.pl \ + ${PREFIX}/etc/gnatsweb + @${MKDIR} ${CGI_DIR} + @${INSTALL_SCRIPT} ${WRKSRC}/gnatsweb.pl ${CGI_DIR} + @${LN} -s ${PREFIX}/etc/gnatsweb/gnatsweb-site.pl ${CGI_DIR} + @${INSTALL_DATA} ${WRKSRC}/gnatsweb.html ${CGI_DIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @for doc in ${DOCFILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \ + done + @${MKDIR} ${EXAMPLESDIR} + @for example in ${EXAMPLEFILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${example} ${EXAMPLESDIR}; \ + done +.endif + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +RUN_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm +.endif + +.include <bsd.port.post.mk> diff --git a/databases/gnatsweb4/distinfo b/databases/gnatsweb4/distinfo new file mode 100644 index 000000000000..cbf85c9ecab5 --- /dev/null +++ b/databases/gnatsweb4/distinfo @@ -0,0 +1 @@ +MD5 (gnatsweb-4.00.tar.gz) = 1d715610ea05ad3aa498d20158b01667 diff --git a/databases/gnatsweb4/pkg-descr b/databases/gnatsweb4/pkg-descr new file mode 100644 index 000000000000..4a4fda19782e --- /dev/null +++ b/databases/gnatsweb4/pkg-descr @@ -0,0 +1,8 @@ +Gnatsweb is a web interface to GNATS, the GNU Problem Report +Management System. It is a Perl CGI script which runs on your +web server. + +WWW: http://www.gnu.org/software/gnats + +- Oliver Eikemeier +eikemeier@fillmore-labs.com diff --git a/databases/gnatsweb4/pkg-plist b/databases/gnatsweb4/pkg-plist new file mode 100644 index 000000000000..64b648f94ab4 --- /dev/null +++ b/databases/gnatsweb4/pkg-plist @@ -0,0 +1,19 @@ +@comment $FreeBSD$ +@unexec if cmp -s %D/etc/gnatsweb/gnatsweb-site.pl %D/etc/gnatsweb/gnatsweb-site.pl.default; then rm -f %D/etc/gnatsweb/gnatsweb-site.pl; fi +etc/gnatsweb/gnatsweb-site.pl.default +@exec [ -f %B/gnatsweb-site.pl ] || cp %B/%f %B/gnatsweb-site.pl +@unexec rmdir %D/etc/gnatsweb 2>/dev/null || true +%%CGI_DIR%%/gnatsweb.pl +%%CGI_DIR%%/gnatsweb-site.pl +%%CGI_DIR%%/gnatsweb.html +%%PORTDOCS%%%%DOCSDIR%%/CUSTOMIZE +%%PORTDOCS%%%%DOCSDIR%%/CUSTOMIZE.cb +%%PORTDOCS%%%%DOCSDIR%%/CUSTOMIZE.vars +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/gnatsweb-site-example.pl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |