Bug 170325 - [PATCH] www/pecl-APC: update to 3.1.11
Summary: [PATCH] www/pecl-APC: update to 3.1.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 13:50 UTC by Martin Matuska
Modified: 2012-08-05 08:20 UTC (History)
1 user (show)

See Also:


Attachments
pecl-APC-3.1.11.patch (976 bytes, patch)
2012-08-02 13:50 UTC, Martin Matuska
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matuska freebsd_committer freebsd_triage 2012-08-02 13:50:08 UTC
Update to 3.1.11

Port maintainer (sunpoet@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-02 13:50:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-05 08:13:16 UTC
Author: sunpoet
Date: Sun Aug  5 07:13:06 2012
New Revision: 302085
URL: http://svn.freebsd.org/changeset/ports/302085

Log:
  - Update to 3.1.11 [1]
  - Convert to new options framework
  - Sort option handlers
  - Cosmetic change
  
  Changes:	http://pecl.php.net/package-changelog.php?package=APC
  PR:		ports/170325 [1]
  Submitted by:	mm

Modified:
  head/www/pecl-APC/Makefile   (contents, props changed)
  head/www/pecl-APC/distinfo   (contents, props changed)

Modified: head/www/pecl-APC/Makefile
==============================================================================
--- head/www/pecl-APC/Makefile	Sun Aug  5 07:12:05 2012	(r302084)
+++ head/www/pecl-APC/Makefile	Sun Aug  5 07:13:06 2012	(r302085)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	APC
-DISTVERSION=	3.1.10
+DISTVERSION=	3.1.11
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -16,50 +16,46 @@ DIST_SUBDIR=	PECL
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Alternative PHP Cache
 
-USE_PHP=	yes
-IGNORE_WITH_PHP=4
-USE_PHPEXT=	yes
-PHP_MODNAME=	apc
+OPTIONS_DEFINE=	FILEHITS IPC SEMAPHORES SPINLOCKS
+FILEHITS_DESC=	Per request cache info
+IPC_DESC=	IPC shm memory support (default: mmap)
+SEMAPHORES_DESC=System V IPC semaphores (default: fcntl)
+SPINLOCKS_DESC=	Spinlocks (experimental)
 
-SUB_FILES=	pkg-message
-PKGMESSAGE=	${WRKDIR}/pkg-message
-
-CONFIGURE_ARGS=	--enable-apc
 CFLAGS+=	-I${LOCALBASE}/include
+CONFIGURE_ARGS=	--enable-apc
+IGNORE_WITH_PHP=4
+PHP_MODNAME=	${PORTNAME:L}
+PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
+USE_PHP=	yes
+USE_PHPEXT=	yes
 
-OPTIONS=	IPC		"Enable IPC shm memory support (default: mmap)"	off \
-		SEMAPHORES	"Enable sysv IPC semaphores (default: fcntl())"	off \
-		SPINLOCKS	"Enable spinlocks (experimental)"		off \
-		FILEHITS	"Enable per request cache info"			off
+PORTDOCS=	CHANGELOG INSTALL NOTICE apc.php
 
-PORTDOCS=	*
+.include <bsd.port.options.mk>
 
-.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MFILEHITS}
+CONFIGURE_ARGS+=	--enable-apc-filehits
+.endif
 
-.if defined(WITH_IPC)
+.if ${PORT_OPTIONS:MIPC}
 CONFIGURE_ARGS+=	--disable-apc-mmap
 .endif
 
-.if defined(WITH_SEMAPHORES)
+.if ${PORT_OPTIONS:MSEMAPHORES}
 CONFIGURE_ARGS+=	--enable-apc-sem
 .endif
 
-.if defined(WITH_SPINLOCKS)
+.if ${PORT_OPTIONS:MSPINLOCKS}
 CONFIGURE_ARGS+=	--enable-apc-spinlocks
 .endif
 
-.if defined(WITH_FILEHITS)
-CONFIGURE_ARGS+=	--enable-apc-filehits
-.endif
-
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/apc.php ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/pecl-APC/distinfo
==============================================================================
--- head/www/pecl-APC/distinfo	Sun Aug  5 07:12:05 2012	(r302084)
+++ head/www/pecl-APC/distinfo	Sun Aug  5 07:13:06 2012	(r302085)
@@ -1,2 +1,2 @@
-SHA256 (PECL/APC-3.1.10.tgz) = 99f260b32592f1b50da9c7a83fad3c5cbdb2484fa01aee6cc04caadd8cd4fc44
-SIZE (PECL/APC-3.1.10.tgz) = 156208
+SHA256 (PECL/APC-3.1.11.tgz) = 478ae91c735087dda4f02d03399fb06ceba4355125ad8fd532b187c93004ebc7
+SIZE (PECL/APC-3.1.11.tgz) = 157478
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2012-08-05 08:13:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!