freebsd-ports/deskutils/everygui/Makefile
Marcus von Appen e1555011ab - Convert ports from databases/ and deskutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-19 08:50:17 +00:00

29 lines
720 B
Makefile

# Created by: Remington Lang <MrL0Lz@gmail.com>
# $FreeBSD$
PORTNAME= everygui
PORTVERSION= 0.99.b
PORTREVISION= 7
CATEGORIES= deskutils gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic GUI for an OS command
USES= python
USE_PYTHON= distutils autoplist
USE_GNOME= libglade2 pygnome2
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${FIND} ${WRKSRC} -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e\
's,/usr/share,${PREFIX}/share,g' -e\
's,/usr/src,${PREFIX}/src,g'
@${REINPLACE_CMD} -e 's,/usr/src/everygui,${PREFIX}/src/everygui,g' \
${WRKSRC}/everygui
@${REINPLACE_CMD} -e 's,/usr/src,${PREFIX}/src,g' \
${WRKSRC}/egdesign
@${FIND} ${WRKSRC} -name "*.bak" -delete
.include <bsd.port.mk>