Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2015 19:52:57 +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: r388993 - head/databases/gnatsweb4
Message-ID:  <201506091952.t59JqvbJ085040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  9 19:52:56 2015
New Revision: 388993
URL: https://svnweb.freebsd.org/changeset/ports/388993

Log:
  - Fix shebangs
  - Add NO_ARCH
  - Simplify docs/examples installation
  
  MFH:		2015Q2 (blanket)

Modified:
  head/databases/gnatsweb4/Makefile

Modified: head/databases/gnatsweb4/Makefile
==============================================================================
--- head/databases/gnatsweb4/Makefile	Tue Jun  9 19:52:49 2015	(r388992)
+++ head/databases/gnatsweb4/Makefile	Tue Jun  9 19:52:56 2015	(r388993)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnatsweb
 PORTVERSION=	4.00
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	databases devel www
 MASTER_SITES=	GNU
 
@@ -17,9 +17,11 @@ RUN_DEPENDS=	p5-MIME-Base64>=0:${PORTSDI
 
 USE_APACHE_RUN=	22+
 
-USES=		perl5
+USES=		perl5 shebangfix
+SHEBANG_FILES=	gnatsweb.pl
 USE_PERL5=	run
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 CGI_DIR?=	${WWWDIR}/cgi-bin
 
@@ -40,12 +42,11 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/gnatsweb.pl ${STAGEDIR}${CGI_DIR}
 	${LN} -s  ${ETCDIR}/gnatsweb-site.pl ${STAGEDIR}${CGI_DIR}
 	${INSTALL_DATA} ${WRKSRC}/gnatsweb.html ${STAGEDIR}${CGI_DIR}
-	for doc in ${PORTDOCS}; do \
-		${INSTALL_DATA} ${WRKSRC}/$${doc} ${STAGEDIR}${DOCSDIR}; \
-	done
-	for example in ${PORTEXAMPLES}; do \
-		${INSTALL_DATA} ${WRKSRC}/$${example} \
-			${STAGEDIR}${EXAMPLESDIR}; \
-	done
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+.for example in ${PORTEXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR}
+.endfor
 
 .include <bsd.port.mk>



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