Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2016 09:03:26 +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: r414437 - head/security/sqlninja
Message-ID:  <201605020903.u4293QvV020447@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon May  2 09:03:25 2016
New Revision: 414437
URL: https://svnweb.freebsd.org/changeset/ports/414437

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/security/sqlninja/Makefile

Modified: head/security/sqlninja/Makefile
==============================================================================
--- head/security/sqlninja/Makefile	Mon May  2 05:39:30 2016	(r414436)
+++ head/security/sqlninja/Makefile	Mon May  2 09:03:25 2016	(r414437)
@@ -20,6 +20,7 @@ RUN_DEPENDS=	p5-IO-Socket-SSL>=0:securit
 
 USES=		perl5 tar:tgz
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
@@ -27,18 +28,20 @@ do-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
 	${MKDIR} ${STAGEDIR}${ETCDIR}/scripts
 	${MKDIR} ${STAGEDIR}${ETCDIR}/apps
-.	for i in sqlninja
-		${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
-.	endfor
-.	for i in churrasco.scr dnstun.scr nc.scr
-		${INSTALL_SCRIPT} ${WRKSRC}/scripts/${i} ${STAGEDIR}${ETCDIR}/scripts
-.	endfor
-.	for i in churrasco.exe dnstun.exe nc.exe
-		${INSTALL_SCRIPT} ${WRKSRC}/apps/${i} ${STAGEDIR}${ETCDIR}/apps
-.	endfor
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.	for i in sqlninja-howto.html sqlninja.conf.example
-		${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.	endfor
+.for i in sqlninja
+	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
+.endfor
+.for i in churrasco.scr dnstun.scr nc.scr
+	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${i} ${STAGEDIR}${ETCDIR}/scripts
+.endfor
+.for i in churrasco.exe dnstun.exe nc.exe
+	${INSTALL_SCRIPT} ${WRKSRC}/apps/${i} ${STAGEDIR}${ETCDIR}/apps
+.endfor
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in sqlninja-howto.html sqlninja.conf.example
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
+.endfor
 
 .include <bsd.port.mk>



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