Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 15:49:39 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412356 - head/www/ftasv
Message-ID:  <201604011549.u31FndXx001088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604011549.u31FndXx001088>