2013-05-08 12:47:16 +00:00
|
|
|
# Created by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
|
2003-10-28 09:46:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
PORTNAME= gnatsweb
|
|
|
|
PORTVERSION= 4.00
|
|
|
|
PORTREVISION= 2
|
|
|
|
CATEGORIES= databases devel www
|
|
|
|
MASTER_SITES= GNU
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Gnatsweb, a GNATS web interface
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2012-06-28 18:37:23 +00:00
|
|
|
RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2012-08-18 14:29:08 +00:00
|
|
|
USE_APACHE_RUN= 22+
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2013-08-03 13:44:00 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= run
|
2011-08-20 17:27:52 +00:00
|
|
|
NO_BUILD= yes
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
CGI_DIR?= ${WWWDIR}/cgi-bin
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
PLIST_SUB= CGI_DIR="${CGI_DIR:S,^${PREFIX}/,,}"
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
PORTDOCS= CUSTOMIZE CUSTOMIZE.cb CUSTOMIZE.vars \
|
|
|
|
ChangeLog INSTALL NEWS README TROUBLESHOOTING
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2011-08-20 17:27:52 +00:00
|
|
|
PORTEXAMPLESS= gnatsweb-site-example.pl
|
2003-10-28 09:46:47 +00:00
|
|
|
|
2013-09-20 16:13:47 +00:00
|
|
|
NO_STAGE= yes
|
2003-10-28 09:46:47 +00:00
|
|
|
do-install:
|
2009-05-11 07:59:12 +00:00
|
|
|
@${MKDIR} ${ETCDIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/gnatsweb-site.pl ${ETCDIR}/gnatsweb-site.pl.default
|
|
|
|
@[ -f ${ETCDIR}/gnatsweb-site.pl ] || \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnatsweb-site.pl ${ETCDIR}/
|
|
|
|
@${MKDIR} ${CGI_DIR}/
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/gnatsweb.pl ${CGI_DIR}/
|
|
|
|
@${LN} -s ${ETCDIR}/gnatsweb-site.pl ${CGI_DIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/gnatsweb.html ${CGI_DIR}/
|
2003-10-28 09:46:47 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-11 07:59:12 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}/
|
|
|
|
@for doc in ${PORTDOCS}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}/; \
|
2003-10-28 09:46:47 +00:00
|
|
|
done
|
2009-05-11 07:59:12 +00:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
2003-10-28 09:46:47 +00:00
|
|
|
@for example in ${EXAMPLEFILES}; do \
|
2009-05-11 07:59:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${example} ${EXAMPLESDIR}/; \
|
2003-10-28 09:46:47 +00:00
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
2007-04-02 17:54:43 +00:00
|
|
|
.include <bsd.port.mk>
|