aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-06 16:30:53 +0800
committerbapt <bapt@FreeBSD.org>2014-01-06 16:30:53 +0800
commit60eefaa5fa2fe46af3b801f70f9c465bb9ca23c4 (patch)
tree5e1851a8e9f18d6d851ce479e200c2622f36d7b1
parent468ac114a417ff7ed610c98a1dcd3af8f0e9748d (diff)
downloadfreebsd-ports-gnome-60eefaa5fa2fe46af3b801f70f9c465bb9ca23c4.tar.gz
freebsd-ports-gnome-60eefaa5fa2fe46af3b801f70f9c465bb9ca23c4.tar.zst
freebsd-ports-gnome-60eefaa5fa2fe46af3b801f70f9c465bb9ca23c4.zip
Support stage
Fix broken dependency on py-gtk2
-rw-r--r--x11/arandr/Makefile16
-rw-r--r--x11/arandr/pkg-plist2
2 files changed, 6 insertions, 12 deletions
diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile
index 280c07454424..6c3281a0d5b7 100644
--- a/x11/arandr/Makefile
+++ b/x11/arandr/Makefile
@@ -3,6 +3,7 @@
PORTNAME= arandr
PORTVERSION= 0.1.7.1
+PORTREVISION= 1
CATEGORIES= x11 deskutils
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
@@ -14,31 +15,22 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:${PORTSDIR}/textproc/py-docutils
RUN_DEPENDS= xrandr>0:${PORTSDIR}/x11/xrandr \
- ${PYTHON_PKGNAMEPREFIX}gtk>0:${PORTSDIR}/x11-toolkits/py-gtk2
+ ${PYTHON_PKGNAMEPREFIX}gtk2>0:${PORTSDIR}/x11-toolkits/py-gtk2
OPTIONS_DEFINE= DOCS
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
USES+= gettext desktop-file-utils
-MANCOMPRESSED= yes
-MAN1= ${PORTNAME}.1 \
- ${PORTNAME:C/a/unx/}.1
-
PORTDOCS= ChangeLog NEWS README TODO
post-patch:
${REINPLACE_CMD} -i '' 's#share/man#man#' ${WRKSRC}/${PYSETUP}
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/x11/arandr/pkg-plist b/x11/arandr/pkg-plist
index 2dad40523811..a0fc76237eb3 100644
--- a/x11/arandr/pkg-plist
+++ b/x11/arandr/pkg-plist
@@ -1,5 +1,7 @@
bin/arandr
bin/unxrandr
+man/man1/arandr.1.gz
+man/man1/unxrandr.1.gz
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.py
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyo