aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-05-13 17:52:31 +0800
committermiwi <miwi@FreeBSD.org>2013-05-13 17:52:31 +0800
commit641e6d035d65303d1e26e738f99669502e4151b3 (patch)
treeb5307d02f8d72fe8b85964fa723bbd2189a41523 /textproc
parent093212237d8c2c4db0b20d84fd806cb207e685b2 (diff)
downloadfreebsd-ports-gnome-641e6d035d65303d1e26e738f99669502e4151b3.tar.gz
freebsd-ports-gnome-641e6d035d65303d1e26e738f99669502e4151b3.tar.zst
freebsd-ports-gnome-641e6d035d65303d1e26e738f99669502e4151b3.zip
- Convert to PEAR_AUTOINSTALL
- Trim header
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pear-File_Fortune/Makefile22
1 files changed, 4 insertions, 18 deletions
diff --git a/textproc/pear-File_Fortune/Makefile b/textproc/pear-File_Fortune/Makefile
index 56e5368062d0..579f482f7fd6 100644
--- a/textproc/pear-File_Fortune/Makefile
+++ b/textproc/pear-File_Fortune/Makefile
@@ -1,32 +1,18 @@
-# Ports collection makefile for: pear-File_Fortune
-# Date created: 12 July 2007
-# Whom: Zhen REN <bg1tpt@gmail.com>
-#
+# Created by: Zhen REN <bg1tpt@gmail.com>
# $FreeBSD$
-#
PORTNAME= File_Fortune
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= textproc pear
MAINTAINER= ports@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"