Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 23:12:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334534 - head/www/pecl-APC
Message-ID:  <201311212312.rALNCIXC003046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Nov 21 23:12:18 2013
New Revision: 334534
URL: http://svnweb.freebsd.org/changeset/ports/334534

Log:
  - Fix Makefile header
  - Add LICENSE
  - Remove WRKSRC
  - Support STAGEDIR

Modified:
  head/www/pecl-APC/Makefile

Modified: head/www/pecl-APC/Makefile
==============================================================================
--- head/www/pecl-APC/Makefile	Thu Nov 21 23:12:13 2013	(r334533)
+++ head/www/pecl-APC/Makefile	Thu Nov 21 23:12:18 2013	(r334534)
@@ -1,4 +1,4 @@
-# Created by: Thierry Thomas (<thierry@pompo.net>)
+# Created by: Thierry Thomas <thierry@pompo.net>
 # $FreeBSD$
 
 PORTNAME=	APC
@@ -15,6 +15,8 @@ DIST_SUBDIR=	PECL
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Alternative PHP Cache
 
+LICENSE=	PHP301
+
 OPTIONS_DEFINE=	DOCS FILEHITS IPC SEMAPHORES SPINLOCKS
 FILEHITS_DESC=	Per request cache info
 IPC_DESC=	IPC shm memory support (default: mmap)
@@ -24,13 +26,11 @@ SPINLOCKS_DESC=	Spinlocks (experimental)
 CFLAGS+=	-I${LOCALBASE}/include
 CONFIGURE_ARGS=	--enable-apc
 IGNORE_WITH_PHP=55
-NO_STAGE=	yes
 PHP_MODNAME=	${PORTNAME:L}
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
 USE_PHP=	yes
 USE_PHPEXT=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-3.1.13
 
 PORTDOCS=	CHANGELOG INSTALL NOTICE apc.php
 
@@ -39,13 +39,8 @@ IPC_CONFIGURE_ARGS=	--disable-apc-mmap
 SEMAPHORES_CONFIGURE_ARGS=	--enable-apc-sem
 SPINLOCKS_CONFIGURE_ARGS=	--enable-apc-spinlocks
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
-	@${CAT} ${PKGMESSAGE}
+	${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?201311212312.rALNCIXC003046>