34 lines
614 B
Makefile
34 lines
614 B
Makefile
# $OpenBSD: Makefile,v 1.8 2013/03/11 11:46:09 espie Exp $
|
|
|
|
COMMENT= gamma-adjusting utility
|
|
|
|
DISTNAME= GAMMApage-0.5
|
|
REVISION= 3
|
|
|
|
CATEGORIES= x11
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://www.pcbypaul.com/software/GAMMApage.html
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://www.pcbypaul.com/software/dl/
|
|
|
|
MODULES= lang/python
|
|
|
|
RUN_DEPENDS= x11/py-gtk2
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= 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>
|