Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 18:52:32 +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: r403337 - head/www/eaccelerator
Message-ID:  <201512081852.tB8IqWb8011498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  8 18:52:32 2015
New Revision: 403337
URL: https://svnweb.freebsd.org/changeset/ports/403337

Log:
  - Switch to options helpers
  - Drop @dirrm* from plist
  - Fix WWW:
  
  Approved by:	portmgr blanket

Modified:
  head/www/eaccelerator/Makefile
  head/www/eaccelerator/pkg-descr
  head/www/eaccelerator/pkg-plist

Modified: head/www/eaccelerator/Makefile
==============================================================================
--- head/www/eaccelerator/Makefile	Tue Dec  8 18:51:21 2015	(r403336)
+++ head/www/eaccelerator/Makefile	Tue Dec  8 18:52:32 2015	(r403337)
@@ -9,6 +9,7 @@ MAINTAINER=	ale@FreeBSD.org
 COMMENT=	Free open-source PHP accelerator & optimizer
 
 LICENSE=	GPLv2
+
 OPTIONS_DEFINE=	DOCCOMM DOCS EXAMPLES
 DOCCOMM_DESC=	Retain doc-comments in internal php structures
 
@@ -31,21 +32,19 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 
 PORTDOCS=	*
 
-.include <bsd.port.options.mk>
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
 	${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
 	       ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/control.php ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/dasm.php ${STAGEDIR}${EXAMPLESDIR}
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Modified: head/www/eaccelerator/pkg-descr
==============================================================================
--- head/www/eaccelerator/pkg-descr	Tue Dec  8 18:51:21 2015	(r403336)
+++ head/www/eaccelerator/pkg-descr	Tue Dec  8 18:52:32 2015	(r403337)
@@ -4,4 +4,4 @@ that the overhead of compiling is almost
 optimizes scripts to speed up their execution. eAccelerator typically reduces
 server load and increases the speed of your PHP code by 1-10 times.
 
-WWW:	http://eaccelerator.net/
+WWW: http://eaccelerator.net/

Modified: head/www/eaccelerator/pkg-plist
==============================================================================
--- head/www/eaccelerator/pkg-plist	Tue Dec  8 18:51:21 2015	(r403336)
+++ head/www/eaccelerator/pkg-plist	Tue Dec  8 18:52:32 2015	(r403337)
@@ -1,6 +1,4 @@
 lib/php/%%PHP_EXT_DIR%%/eaccelerator.so
-@dirrmtry lib/php/%%PHP_EXT_DIR%%
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/control.php
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dasm.php
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eaccelerator.ini
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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