aboutsummaryrefslogtreecommitdiffstats
path: root/converters/php5-bsdconv
diff options
context:
space:
mode:
Diffstat (limited to 'converters/php5-bsdconv')
-rw-r--r--converters/php5-bsdconv/Makefile24
-rw-r--r--converters/php5-bsdconv/distinfo2
2 files changed, 16 insertions, 10 deletions
diff --git a/converters/php5-bsdconv/Makefile b/converters/php5-bsdconv/Makefile
index b20a11fc5b9..750c20a9fc1 100644
--- a/converters/php5-bsdconv/Makefile
+++ b/converters/php5-bsdconv/Makefile
@@ -5,25 +5,29 @@
# $FreeBSD$
#
-CATEGORIES+= converters
+PORTNAME= bsdconv
+PORTVERSION= 4.6
+CATEGORIES= converters
+MASTER_SITES= https://github.com/buganini/php-${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX= php5-
+DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
MAINTAINER= buganini@gmail.com
COMMENT= PHP wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
-MASTERDIR= ${.CURDIR}/../bsdconv
-WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/php
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
-DESCR= ${.CURDIR}/pkg-descr
-PLIST= ${NONEXISTENT}
+LICENSE= BSD
+
+GITVERSION= 4297d53
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/buganini-php-${PORTNAME}-${GITVERSION}
USE_PHP= yes
+USE_PHPEXT= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
-USE_PHPEXT= yes
-PHP_MODNAME= bsdconv
-CONFIGURE_ARGS+=--with-bsdconv=${LOCALBASE}
+PHP_MODNAME= ${PORTNAME}
+CONFIGURE_ARGS= --with-bsdconv=${LOCALBASE}
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
diff --git a/converters/php5-bsdconv/distinfo b/converters/php5-bsdconv/distinfo
new file mode 100644
index 00000000000..f2e8b4c2544
--- /dev/null
+++ b/converters/php5-bsdconv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (buganini-bsdconv-4.6-0-g4297d53.tar.gz) = 7d40955e082c8b56088d7bb0707fab48bc6e2e6f42cdf75f72e2f53a84f65ebd
+SIZE (buganini-bsdconv-4.6-0-g4297d53.tar.gz) = 4394