openbsd-ports/x11/gammapage/Makefile
2010-08-30 21:47:46 +00:00

37 lines
697 B
Makefile

# $OpenBSD: Makefile,v 1.4 2010/08/30 21:47:46 sthen Exp $
COMMENT= gamma-adjusting utility
DISTNAME= GAMMApage-0.5
REVISION= 1
CATEGORIES= x11
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.pcbypaul.com/software/GAMMApage.html
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.pcbypaul.com/software/dl/
MODULES= lang/python
RUN_DEPENDS= ::x11/py-gtk2
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
pre-configure:
@find ${WRKDIST} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/GAMMApage.py ${PREFIX}/bin/GAMMApage
.include <bsd.port.mk>