Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 11:43:59 +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: r404289 - head/misc/crosspad
Message-ID:  <201512231143.tBNBhxOF011078@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 23 11:43:59 2015
New Revision: 404289
URL: https://svnweb.freebsd.org/changeset/ports/404289

Log:
  - Switch to options helpers

Modified:
  head/misc/crosspad/Makefile
  head/misc/crosspad/pkg-plist

Modified: head/misc/crosspad/Makefile
==============================================================================
--- head/misc/crosspad/Makefile	Wed Dec 23 11:39:00 2015	(r404288)
+++ head/misc/crosspad/Makefile	Wed Dec 23 11:43:59 2015	(r404289)
@@ -16,7 +16,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_path_path_perl=${PERL}
 WRKSRC=		${WRKDIR}/crosspad/build
 
-DOCS=	PROTOCOL README.english README.japanese
+PORTDOCS=	PROTOCOL README.english README.japanese
 
 OPTIONS_DEFINE=	DOCS
 
@@ -25,8 +25,8 @@ post-patch:
 		-e 's,-(g|o) (bin|uucp),,g' \
 		${WRKSRC}/Makefile.in
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/misc/crosspad/pkg-plist
==============================================================================
--- head/misc/crosspad/pkg-plist	Wed Dec 23 11:39:00 2015	(r404288)
+++ head/misc/crosspad/pkg-plist	Wed Dec 23 11:43:59 2015	(r404289)
@@ -10,6 +10,3 @@ man/man1/crosspad2idraw.1.gz
 man/man1/crosspad2ps.1.gz
 man/man1/crosspad2tgif.1.gz
 man/man1/padload.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL
-%%PORTDOCS%%%%DOCSDIR%%/README.english
-%%PORTDOCS%%%%DOCSDIR%%/README.japanese



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