openbsd-ports/x11/driconf/Makefile

30 lines
781 B
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.7 2010/11/22 08:36:56 espie Exp $
COMMENT = configuration utility for DRI drivers
MODPY_EGG_VERSION = 0.9.1
2009-01-02 13:34:12 -05:00
DISTNAME = driconf-${MODPY_EGG_VERSION}
2010-08-30 17:47:46 -04:00
REVISION= 2
CATEGORIES = x11
HOMEPAGE = http://people.freedesktop.org/~fxkuehl/driconf/dri_config_design_rev4.html
MASTER_SITES = http://people.freedesktop.org/~fxkuehl/driconf/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
2010-11-22 03:36:47 -05:00
RUN_DEPENDS = x11/py-gtk2
pre-configure:
@mkdir -p ${WRKSRC}/lib/driconf
@touch ${WRKSRC}/lib/driconf/__init__.py
@cd ${WRKSRC}; mv dri.py driconf.py ./lib/driconf/.
@cd ${WRKSRC}; for i in driconf_*.py; do \
mv $$i ./lib/driconf/$${i#*_}; done
.include <bsd.port.mk>