diff options
author | rm <rm@FreeBSD.org> | 2013-01-27 01:07:25 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2013-01-27 01:07:25 +0800 |
commit | 33fd584e557ddbaa0a8681d417601dff1291ffd9 (patch) | |
tree | d478a08276068aa76cd220bf07e4184c22dac513 | |
parent | ea137261ef835ad15191143f8ae148903933f948 (diff) | |
download | freebsd-ports-gnome-33fd584e557ddbaa0a8681d417601dff1291ffd9.tar.gz freebsd-ports-gnome-33fd584e557ddbaa0a8681d417601dff1291ffd9.tar.zst freebsd-ports-gnome-33fd584e557ddbaa0a8681d417601dff1291ffd9.zip |
- fix docs installation
- define PORTDOCS list uncoditionally, while here
PR: ports/175610
Submitted by: Nicolas Jombart <ecu@200ok.org> (maintainer)
-rw-r--r-- | sysutils/sec/Makefile | 6 |
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} |