svn commit: r311033 - head/sysutils/sec
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sat Jan 26 17:07:26 UTC 2013
Author: rm
Date: Sat Jan 26 17:07:25 2013
New Revision: 311033
URL: http://svnweb.freebsd.org/changeset/ports/311033
Log:
- fix docs installation
- define PORTDOCS list uncoditionally, while here
PR: ports/175610
Submitted by: Nicolas Jombart <ecu at 200ok.org> (maintainer)
Modified:
head/sysutils/sec/Makefile
Modified: head/sysutils/sec/Makefile
==============================================================================
--- head/sysutils/sec/Makefile Sat Jan 26 16:59:10 2013 (r311032)
+++ head/sysutils/sec/Makefile Sat Jan 26 17:07:25 2013 (r311033)
@@ -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}
More information about the svn-ports-all
mailing list