Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 08:30:53 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338841 - head/x11/arandr
Message-ID:  <201401060830.s068UrJX039808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan  6 08:30:53 2014
New Revision: 338841
URL: http://svnweb.freebsd.org/changeset/ports/338841

Log:
  Support stage
  Fix broken dependency on py-gtk2

Modified:
  head/x11/arandr/Makefile
  head/x11/arandr/pkg-plist

Modified: head/x11/arandr/Makefile
==============================================================================
--- head/x11/arandr/Makefile	Mon Jan  6 08:25:43 2014	(r338840)
+++ head/x11/arandr/Makefile	Mon Jan  6 08:30:53 2014	(r338841)
@@ -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>

Modified: head/x11/arandr/pkg-plist
==============================================================================
--- head/x11/arandr/pkg-plist	Mon Jan  6 08:25:43 2014	(r338840)
+++ head/x11/arandr/pkg-plist	Mon Jan  6 08:30:53 2014	(r338841)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401060830.s068UrJX039808>