44 lines
971 B
Makefile
44 lines
971 B
Makefile
# Created by: Sofian Brabez <sbz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arandr
|
|
PORTVERSION= 0.1.7.1
|
|
CATEGORIES= x11 deskutils
|
|
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
|
|
LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= Another XRandR GUI
|
|
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|