Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 10:42:00 +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: r409281 - head/www/llgal
Message-ID:  <201602211042.u1LAg0os095482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb 21 10:41:59 2016
New Revision: 409281
URL: https://svnweb.freebsd.org/changeset/ports/409281

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/www/llgal/Makefile
  head/www/llgal/pkg-plist

Modified: head/www/llgal/Makefile
==============================================================================
--- head/www/llgal/Makefile	Sun Feb 21 10:40:13 2016	(r409280)
+++ head/www/llgal/Makefile	Sun Feb 21 10:41:59 2016	(r409281)
@@ -26,6 +26,8 @@ RUN_DEPENDS=	p5-Image-Size>=0:${PORTSDIR
 USES=		gettext perl5 gmake tar:bzip2 shebangfix
 SHEBANG_FILES=	llgal.in
 USE_PERL5=	run
+NO_ARCH=	yes
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
@@ -37,12 +39,13 @@ post-configure:
 	${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/doc/*.html \
+		${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/www/llgal/pkg-plist
==============================================================================
--- head/www/llgal/pkg-plist	Sun Feb 21 10:40:13 2016	(r409280)
+++ head/www/llgal/pkg-plist	Sun Feb 21 10:41:59 2016	(r409281)
@@ -5,6 +5,7 @@ bin/llgal
 %%SITE_PERL%%/Llgal/Utils.pm
 man/man1/llgal.1.gz
 man/man5/llgalrc.5.gz
+%%PORTDOCS%%%%DOCSDIR%%/Changes
 %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/README
 %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/add_comment.php
 %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/slidetemplate.html



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