freebsd-ports/deskutils/everygui/Makefile
Marcus von Appen f97e61cdeb - Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support
2013-09-29 07:13:33 +00:00

30 lines
737 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
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
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>