freebsd-ports/sysutils/penv/Makefile
Peter Pentchev 10f3eb1bc9 Update to 1.0, which adds the ability to only list the environment
changes without executing anything.  Also, the config file path,
the paths to envdir and printenv and the database dir path are now
dynamically adjusted in both the manual page and the sample config file.
2001-09-03 09:51:56 +00:00

38 lines
803 B
Makefile

# New ports collection makefile for: penv
# Date created: 5 August 2001
# Whom: roam@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= penv
PORTVERSION= 1.0
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}
post-install:
${MKDIR} ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/penv.conf.default ${PREFIX}/etc
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
.endif
.include <bsd.port.mk>