aboutsummaryrefslogtreecommitdiffstats
path: root/converters/py-bsdconv
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-04-16 21:55:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-04-16 21:55:02 +0800
commit5429daa2af90112e48f0f3804d1cbe209328d066 (patch)
tree4588e0a39c46637babce811277e71fb8d715b1e5 /converters/py-bsdconv
parentc07973f57db061b19d51177d1b01e5f023ac9b12 (diff)
downloadfreebsd-ports-gnome-5429daa2af90112e48f0f3804d1cbe209328d066.tar.gz
freebsd-ports-gnome-5429daa2af90112e48f0f3804d1cbe209328d066.tar.zst
freebsd-ports-gnome-5429daa2af90112e48f0f3804d1cbe209328d066.zip
- Use converters/bsdconv as master port
PR: ports/156439 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Diffstat (limited to 'converters/py-bsdconv')
-rw-r--r--converters/py-bsdconv/Makefile15
-rw-r--r--converters/py-bsdconv/distinfo2
2 files changed, 8 insertions, 9 deletions
diff --git a/converters/py-bsdconv/Makefile b/converters/py-bsdconv/Makefile
index 0f71f3be5269..f6a4d40216bc 100644
--- a/converters/py-bsdconv/Makefile
+++ b/converters/py-bsdconv/Makefile
@@ -5,10 +5,7 @@
# $FreeBSD$
#
-PORTNAME= bsdconv
-PORTVERSION= 4.3
-CATEGORIES= converters python
-MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
+CATEGORIES+= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= buganini@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 ad7dbd900359..000000000000
--- 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