svn commit: r318050 - head/textproc/pear-File_Fortune

Martin Wilke miwi at FreeBSD.org
Mon May 13 09:52:32 UTC 2013


Author: miwi
Date: Mon May 13 09:52:31 2013
New Revision: 318050
URL: http://svnweb.freebsd.org/changeset/ports/318050

Log:
  - Convert to PEAR_AUTOINSTALL
  - Trim header

Modified:
  head/textproc/pear-File_Fortune/Makefile   (contents, props changed)

Modified: head/textproc/pear-File_Fortune/Makefile
==============================================================================
--- head/textproc/pear-File_Fortune/Makefile	Mon May 13 09:51:39 2013	(r318049)
+++ head/textproc/pear-File_Fortune/Makefile	Mon May 13 09:52:31 2013	(r318050)
@@ -1,32 +1,18 @@
-# Ports collection makefile for:  pear-File_Fortune
-# Date created:			  12 July 2007
-# Whom:				  Zhen REN <bg1tpt at gmail.com>
-#
+# Created by: Zhen REN <bg1tpt at gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	File_Fortune
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	textproc pear
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	An interface for reading from and writing to fortune files
 
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
 
-CATEGORY=	File
-FILES=		Fortune.php Fortune/Exception.php
-_FILESDIR=	File
-TESTS=		AllTests.php File_FortuneTest.php orig/ftest orig/ftest.dat \
-		orig/ftest2 orig/ftest2.dat
-EXAMPLES=	phpFortune
-DOCS=		File_Fortune.cls
-_DOCSDIR=	tutorials
-
-post-extract:
-	${MV} ${WRKSRC}/File/Fortune.php ${WRKSRC}/File/Fortune ${WRKSRC}
-	${MV} ${WRKSRC}/tests/_files/orig ${WRKSRC}/tests/orig
+PEAR_AUTOINSTALL=	yes
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear/bsd.pear.mk"


More information about the svn-ports-all mailing list