From 60eefaa5fa2fe46af3b801f70f9c465bb9ca23c4 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 6 Jan 2014 08:30:53 +0000 Subject: Support stage Fix broken dependency on py-gtk2 --- x11/arandr/Makefile | 16 ++++------------ x11/arandr/pkg-plist | 2 ++ 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'x11/arandr') 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 - 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 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 -- cgit