aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-09-28 18:54:58 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-09-28 18:54:58 +0000
commite6012d5db8250cd441b9b7dfe48e8c5e36e50129 (patch)
treeafa8190b19c6ff05d45774fc96d441e2052f344e /deskutils
parent7f7ca8b53e705398b0eda184fb1d40f3f13543af (diff)
downloadports-e6012d5db8250cd441b9b7dfe48e8c5e36e50129.tar.gz
ports-e6012d5db8250cd441b9b7dfe48e8c5e36e50129.zip
Notes
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