summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-01-26 17:07:25 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-01-26 17:07:25 +0000
commit1d74f0d605cd13f2254ec41c24dd114dceaa1b79 (patch)
treed478a08276068aa76cd220bf07e4184c22dac513 /sysutils
parent- cleanup header (diff)
- fix docs installation
- define PORTDOCS list uncoditionally, while here PR: ports/175610 Submitted by: Nicolas Jombart <ecu@200ok.org> (maintainer)
Notes
Notes: svn path=/head/; revision=311033
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sec/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/sec/Makefile b/sysutils/sec/Makefile
index be6e02947804..0e465378d712 100644
--- a/sysutils/sec/Makefile
+++ b/sysutils/sec/Makefile
@@ -21,16 +21,14 @@ DATADIR= share/sec
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|}
PLIST_DIRS+= ${DATADIR}
+PORTDOCS= ChangeLog README
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS= ChangeLog README
-.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
-.if empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}