blob: db9d6f2b00667af591cff20f1ef2bb03c5c5ab65 (
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
|
# New ports collection makefile for: penv
# Date created: 5 August 2001
# Whom: roam@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= penv
PORTVERSION= 1.2.b1
CATEGORIES= sysutils
MASTER_SITES= http://devel.ringlet.net/sysutils/penv/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/pre/}
MAINTAINER= roam@FreeBSD.org
RUN_DEPENDS= envdir:${PORTSDIR}/sysutils/daemontools
MAN1= penv.1
MANCOMPRESSED= yes
CFLAGS_COMPAT= -DHAVE_STRLCPY -DHAVE_FGETLN
MAKE_ENV+= CFLAGS_COMPAT="${CFLAGS_COMPAT}"
.if !defined(NO_RELEASE)
MAKE_ENV+= RELEASE=yes
.endif
DBDIR?= /var/db/${PORTNAME}
PLIST_SUB+= DBDIR=${DBDIR}
HTMLDOCS= docbook.css index.html penv-compat.html penv-history.html \
penv-install.html penv-src.html penv-usage.html penv.html
HTMLCDOCS= changes.html changes.txt
TXTDOCS= penv.txt
post-install:
${MKDIR} ${PREFIX}/etc
${MKDIR} ${DBDIR}
${INSTALL_DATA} ${WRKSRC}/penv.conf.default ${PREFIX}/etc
if [ ! -e ${PREFIX}/etc/penv.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/penv.conf.default \
${PREFIX}/etc/penv.conf; \
fi
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html
${INSTALL_DATA} ${HTMLDOCS:S,^,${WRKSRC}/doc/html/,} ${DOCSDIR}/html
${MKDIR} ${DOCSDIR}/html/changes
${INSTALL_DATA} ${HTMLCDOCS:S,^,${WRKSRC}/doc/html/changes/,} ${DOCSDIR}/html/changes
${MKDIR} ${DOCSDIR}/txt
${INSTALL_DATA} ${TXTDOCS:S,^,${WRKSRC}/doc/txt/,} ${DOCSDIR}/txt
.endif
.include <bsd.port.mk>
|