aboutsummaryrefslogtreecommitdiff
path: root/converters/py-bsdconv
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-16 13:55:02 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-16 13:55:02 +0000
commit38b3e7efc84dabb48af6dbb6c23c73761324b89f (patch)
tree95a9e9d3481a2436a7d53e69c181b8660aa469b7 /converters/py-bsdconv
parentaa78ccfd3dacf0a81078e837401bdce83864e680 (diff)
downloadports-38b3e7efc84dabb48af6dbb6c23c73761324b89f.tar.gz
ports-38b3e7efc84dabb48af6dbb6c23c73761324b89f.zip
Notes
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