1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/x11/arandr/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

34 lines
803 B
Makefile

# Created by: Sofian Brabez <sbz@FreeBSD.org>
# $FreeBSD$
PORTNAME= arandr
PORTVERSION= 0.1.9
CATEGORIES= x11 deskutils
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Another XRandR GUI
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= xrandr>0:x11/xrandr \
${PYTHON_PKGNAMEPREFIX}gtk2>0:x11-toolkits/py-gtk2@${PY_FLAVOR}
OPTIONS_DEFINE= DOCS
USE_PYTHON= distutils
USES+= gettext desktop-file-utils python:2.7
PORTDOCS= ChangeLog NEWS README TODO
post-patch:
${REINPLACE_CMD} -i '' 's#share/man#man#' ${WRKSRC}/${PYSETUP}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>