Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2016 03:35:17 +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: r411379 - head/security/phpdeadlock
Message-ID:  <201603190335.u2J3ZHB3005788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Mar 19 03:35:17 2016
New Revision: 411379
URL: https://svnweb.freebsd.org/changeset/ports/411379

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/security/phpdeadlock/Makefile

Modified: head/security/phpdeadlock/Makefile
==============================================================================
--- head/security/phpdeadlock/Makefile	Sat Mar 19 01:24:55 2016	(r411378)
+++ head/security/phpdeadlock/Makefile	Sat Mar 19 03:35:17 2016	(r411379)
@@ -23,6 +23,7 @@ USES=		dos2unix
 USE_APACHE_RUN=	22+
 USE_PHP=	mysql session ctype pcre
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 IGNORE_WITH_PHP=	70
 
@@ -30,6 +31,8 @@ SUB_FILES=	pkg-message
 SUB_LIST=	DLURL=${DLURL} DLDIR=${DLDIR}
 PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	@cd ${WRKDIR} && ${MV} "Deadlock v1.01" Deadlock-1.01
 
@@ -38,7 +41,9 @@ post-patch:
 
 do-install:
 	@cd ${WRKSRC}/deadlock && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
-	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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