mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Created by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnatsweb
|
|
PORTVERSION= 4.00
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases devel www
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Gnatsweb, a GNATS web interface
|
|
|
|
RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
|
|
|
|
USE_APACHE_RUN= 22+
|
|
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
|
|
CGI_DIR?= ${WWWDIR}/cgi-bin
|
|
|
|
PLIST_SUB= CGI_DIR="${CGI_DIR:S,^${PREFIX}/,,}"
|
|
|
|
PORTDOCS= CUSTOMIZE CUSTOMIZE.cb CUSTOMIZE.vars \
|
|
ChangeLog INSTALL NEWS README TROUBLESHOOTING
|
|
|
|
PORTEXAMPLESS= gnatsweb-site-example.pl
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
@${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}/
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/
|
|
@for doc in ${PORTDOCS}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}/; \
|
|
done
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
|
@for example in ${EXAMPLEFILES}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$${example} ${EXAMPLESDIR}/; \
|
|
done
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|