ports/156439: [Maintainer Update] adjust converters/{p5, php5, py}-bsdconv
Kuan-Chung Chiu
buganini at gmail.com
Sat Apr 16 09:50:11 UTC 2011
>Number: 156439
>Category: ports
>Synopsis: [Maintainer Update] adjust converters/{p5,php5,py}-bsdconv
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 16 09:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Kuan-Chung Chiu
>Release: 9-CURRENT
>Organization:
N/A
>Environment:
FreeBSD Elizabeth.twbbs.org 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r220590M: Wed Apr 13 13:24:08 CST 2011 root at Elizabeth.twbbs.org:/usr/obj/usr/src/sys/ELIZABETH amd64
>Description:
make converters/{p5,php5,py}-bsdconv to be slave port of converters/bsdconv
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/converters/p5-bsdconv/Makefile b/converters/p5-bsdconv/Makefile
index a1a3ef9..0575186 100644
--- a/converters/p5-bsdconv/Makefile
+++ b/converters/p5-bsdconv/Makefile
@@ -5,10 +5,7 @@
# $FreeBSD: ports/converters/p5-bsdconv/Makefile,v 1.6 2011/01/28 18:36:08 dhn Exp $
#
-PORTNAME= bsdconv
-PORTVERSION= 4.3
-CATEGORIES= converters perl5
-MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
+CATEGORIES+= perl5
PKGNAMEPREFIX= p5-
MAINTAINER= buganini at gmail.com
@@ -16,14 +13,18 @@ COMMENT= Perl wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
+MASTERDIR= ${.CURDIR}/../bsdconv
+WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/perl
+PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
PERL_CONFIGURE= yes
MAN3= bsdconv.3
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/perl
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/p5-bsdconv/distinfo b/converters/p5-bsdconv/distinfo
deleted file mode 100644
index ad7dbd9..0000000
--- a/converters/p5-bsdconv/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
-SIZE (bsdconv-4.3.tar.gz) = 3704402
diff --git a/converters/php5-bsdconv/Makefile b/converters/php5-bsdconv/Makefile
index c222d4b..ca5a48e 100644
--- a/converters/php5-bsdconv/Makefile
+++ b/converters/php5-bsdconv/Makefile
@@ -5,10 +5,7 @@
# $FreeBSD: ports/converters/php5-bsdconv/Makefile,v 1.6 2011/01/28 18:36:08 dhn Exp $
#
-PORTNAME= bsdconv
-PORTVERSION= 4.3
-CATEGORIES= converters
-MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
+CATEGORIES+= converters
PKGNAMEPREFIX= php5-
MAINTAINER= buganini at gmail.com
@@ -16,6 +13,12 @@ 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= ${.CURDIR}/pkg-plist
+
USE_PHP= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
@@ -23,6 +26,4 @@ USE_PHPEXT= yes
PHP_MODNAME= bsdconv
CONFIGURE_ARGS+=--with-bsdconv=${LOCALBASE}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/php
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php5-bsdconv/distinfo b/converters/php5-bsdconv/distinfo
deleted file mode 100644
index ad7dbd9..0000000
--- a/converters/php5-bsdconv/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
-SIZE (bsdconv-4.3.tar.gz) = 3704402
diff --git a/converters/py-bsdconv/Makefile b/converters/py-bsdconv/Makefile
index 87ff441..09770b1 100644
--- a/converters/py-bsdconv/Makefile
+++ b/converters/py-bsdconv/Makefile
@@ -5,10 +5,7 @@
# $FreeBSD: ports/converters/py-bsdconv/Makefile,v 1.3 2011/01/28 18:36:08 dhn Exp $
#
-PORTNAME= bsdconv
-PORTVERSION= 4.3
-CATEGORIES= converters python
-MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
+CATEGORIES+= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= buganini at gmail.com
@@ -16,14 +13,18 @@ COMMENT= Python wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
+MASTERDIR= ${.CURDIR}/../bsdconv
+WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/python
+PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/python
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/setup.py
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/py-bsdconv/distinfo b/converters/py-bsdconv/distinfo
deleted file mode 100644
index ad7dbd9..0000000
--- a/converters/py-bsdconv/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
-SIZE (bsdconv-4.3.tar.gz) = 3704402
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list