aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:04 +0800
commit4b85991d68a1678e5cde9ad7043a1023d0e67469 (patch)
treec6dc8e0c6868bc7c01ff3095d7db77f09abc1fa1
parent70b377e5bed4a36ad943da4038f37280b05727af (diff)
downloadfreebsd-ports-gnome-4b85991d68a1678e5cde9ad7043a1023d0e67469.tar.gz
freebsd-ports-gnome-4b85991d68a1678e5cde9ad7043a1023d0e67469.tar.zst
freebsd-ports-gnome-4b85991d68a1678e5cde9ad7043a1023d0e67469.zip
- Update to 1.0.1
- Use DISTVERSIONPREFIX instead of DISTNAME - Add NO_ARCH - Use USE_PYTHON=autoplist Changes: https://gitlab.com/Screwtapello/bdflib/commits/master
-rw-r--r--x11-fonts/py-bdflib/Makefile10
-rw-r--r--x11-fonts/py-bdflib/distinfo4
-rw-r--r--x11-fonts/py-bdflib/pkg-plist43
3 files changed, 7 insertions, 50 deletions
diff --git a/x11-fonts/py-bdflib/Makefile b/x11-fonts/py-bdflib/Makefile
index b7e9d978c972..c6fb65cbf450 100644
--- a/x11-fonts/py-bdflib/Makefile
+++ b/x11-fonts/py-bdflib/Makefile
@@ -2,22 +2,22 @@
# $FreeBSD$
PORTNAME= bdflib
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.1
+DISTVERSIONPREFIX= v
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP/source/b/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= Library for working with BDF font files
LICENSE= GPLv3
+NO_ARCH= yes
USES= python:2
-USE_PYTHON= distutils
+USE_PYTHON= autoplist distutils
post-patch:
- @${REINPLACE_CMD} -e '/def/!s,guess_version(),"${PORTVERSION}",' \
- ${WRKSRC}/${PYSETUP}
+ @${REINPLACE_CMD} -e 's|version=guess_version()|version="${PORTVERSION}"|' ${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>
diff --git a/x11-fonts/py-bdflib/distinfo b/x11-fonts/py-bdflib/distinfo
index e6c57b700757..5cdb3bc27a5a 100644
--- a/x11-fonts/py-bdflib/distinfo
+++ b/x11-fonts/py-bdflib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bdflib-v1.0.0.tar.gz) = f2e5a5d9ad9462952cff00cbf308800dad7307637e37e6f46a72c86d07243eb8
-SIZE (bdflib-v1.0.0.tar.gz) = 16101
+SHA256 (bdflib-v1.0.1.tar.gz) = d29bea7a4362d46f76bda54380881679e88716512523242ca6d2d1bb6715b7dc
+SIZE (bdflib-v1.0.1.tar.gz) = 16813
diff --git a/x11-fonts/py-bdflib/pkg-plist b/x11-fonts/py-bdflib/pkg-plist
deleted file mode 100644
index d9ff38710b1a..000000000000
--- a/x11-fonts/py-bdflib/pkg-plist
+++ /dev/null
@@ -1,43 +0,0 @@
-bin/bdflib-embolden
-bin/bdflib-fill
-bin/bdflib-merge
-bin/bdflib-passthrough
-%%PYTHON_SITELIBDIR%%/bdflib/__init__.py
-%%PYTHON_SITELIBDIR%%/bdflib/__init__.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/__init__.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/effects.py
-%%PYTHON_SITELIBDIR%%/bdflib/effects.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/effects.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/glyph_combining.py
-%%PYTHON_SITELIBDIR%%/bdflib/glyph_combining.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/glyph_combining.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/model.py
-%%PYTHON_SITELIBDIR%%/bdflib/model.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/model.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/reader.py
-%%PYTHON_SITELIBDIR%%/bdflib/reader.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/reader.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/__init__.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/__init__.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/__init__.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_effects.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_effects.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_effects.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_glyph_combining.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_glyph_combining.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_glyph_combining.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_model.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_model.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_model.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_reader.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_reader.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_reader.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_writer.py
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_writer.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/test/test_writer.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/util.py
-%%PYTHON_SITELIBDIR%%/bdflib/util.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/util.pyo
-%%PYTHON_SITELIBDIR%%/bdflib/writer.py
-%%PYTHON_SITELIBDIR%%/bdflib/writer.pyc
-%%PYTHON_SITELIBDIR%%/bdflib/writer.pyo