ports/sysutils/ipa/Makefile
Mario Sergio Fujikawa Ferreira e53cc61fc9 o Add NOPORTDOCS support
o Be more graceful with install/deinstall: handle situation
  where man/ru_RU.KOI8-R exists prior to installation of this port,
  i.e., it cannot be a symlink
o Protect configuration file with perms 0400

This is a followup commit to the following PR

PR:		29024
2001-07-31 18:37:09 +00:00

33 lines
630 B
Makefile

# New ports collection makefile for: ipa
# Date created: 2 December 2000
# Whom: Andrey Simonenko
#
# $FreeBSD$
#
PORTNAME= ipa
PORTVERSION= 1.1.4
CATEGORIES= sysutils
MASTER_SITES= http://www.simon.org.ua/ipa/
MAINTAINER= simon@simon.org.ua
NO_PACKAGE= "Needs to be built uniquely for each site"
ALL_TARGET= FreeBSD
.ifdef(NOPORTDOCS)
MAKE_ENV= NOPORTDOCS="${NOPORTDOCS}"
.endif
MAN5= ipa.5 ipa.conf.5
MAN8= ipa.8 ipastat.8
MANLANG= "" ru_RU.KOI8-R
post-patch:
@${PERL} -pi -ne "s|/usr/local/|${PREFIX}/|" \
${WRKSRC}/Makefile
post-install:
${CHMOD} 0400 ${PREFIX}/etc/ipa.conf.default
.include <bsd.port.mk>