svn commit: r412356 - head/www/ftasv
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 1 15:49:40 UTC 2016
Author: amdmi3
Date: Fri Apr 1 15:49:39 2016
New Revision: 412356
URL: https://svnweb.freebsd.org/changeset/ports/412356
Log:
- Add LICENSE_FILE
- Switch to options helpers
- Don't install license file
- Only use pkg-message which refers to documentation when docs are installed
Modified:
head/www/ftasv/Makefile
Modified: head/www/ftasv/Makefile
==============================================================================
--- head/www/ftasv/Makefile Fri Apr 1 15:43:45 2016 (r412355)
+++ head/www/ftasv/Makefile Fri Apr 1 15:49:39 2016 (r412356)
@@ -11,17 +11,20 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= Is a commandline scoreboard viewer for the Apache server
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USE_APACHE= 22+
PLIST_FILES= sbin/ftasv
-SUB_FILES= pkg-message
-PORTDOCS= AUTHORS COPYING ChangeLog README
+PORTDOCS= AUTHORS ChangeLog README
+
OPTIONS_DEFINE= DOCS
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+DOCS_SUB_FILES= pkg-message
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
More information about the svn-ports-head
mailing list