aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-09-29 02:54:58 +0800
committerantoine <antoine@FreeBSD.org>2013-09-29 02:54:58 +0800
commit2db80ec1fadefb8c8bbfd44de6c6ea5e7a97193f (patch)
treeafa8190b19c6ff05d45774fc96d441e2052f344e /deskutils
parent88ea0a86c1e176cf92a55f7000ff5a548a8bb4fb (diff)
downloadfreebsd-ports-gnome-2db80ec1fadefb8c8bbfd44de6c6ea5e7a97193f.tar.gz
freebsd-ports-gnome-2db80ec1fadefb8c8bbfd44de6c6ea5e7a97193f.tar.zst
freebsd-ports-gnome-2db80ec1fadefb8c8bbfd44de6c6ea5e7a97193f.zip
Convert to STAGEDIR and PYTHON_PY3K_PLIST_HACK.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/dosage/Makefile12
-rw-r--r--deskutils/dosage/pkg-plist1
2 files changed, 3 insertions, 10 deletions
diff --git a/deskutils/dosage/Makefile b/deskutils/dosage/Makefile
index 148a0656f1bf..a8e3ff029978 100644
--- a/deskutils/dosage/Makefile
+++ b/deskutils/dosage/Makefile
@@ -16,17 +16,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=Dosage
+PYTHON_PY3K_PLIST_HACK=yes
-MAN1= dosage.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/dosage/pkg-plist b/deskutils/dosage/pkg-plist
index 7eadb514d271..1cbb621ff526 100644
--- a/deskutils/dosage/pkg-plist
+++ b/deskutils/dosage/pkg-plist
@@ -182,5 +182,6 @@ bin/dosage
%%PYTHON_SITELIBDIR%%/dosagelib/util.py
%%PYTHON_SITELIBDIR%%/dosagelib/util.pyc
%%PYTHON_SITELIBDIR%%/dosagelib/util.pyo
+man/man1/dosage.1.gz
@dirrm %%PYTHON_SITELIBDIR%%/dosagelib/plugins
@dirrm %%PYTHON_SITELIBDIR%%/dosagelib