blob: 2010f3eda341a43521a8bd92b03f8b88784f5f8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: gnatsweb4
# Date created: 20 Sep 2003
# Whom: 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
MAKE_JOBS_SAFE= yes
USE_APACHE= 20+
USE_PERL5_RUN= yes
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
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>
|