2019-07-12 20:50:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2019/07/12 20:51:09 sthen Exp $
|
2008-07-11 13:07:54 +00:00
|
|
|
|
|
|
|
COMMENT = configuration utility for DRI drivers
|
|
|
|
|
|
|
|
MODPY_EGG_VERSION = 0.9.1
|
2009-01-02 18:34:12 +00:00
|
|
|
DISTNAME = driconf-${MODPY_EGG_VERSION}
|
2019-07-10 21:01:26 +00:00
|
|
|
REVISION= 6
|
2008-07-11 13:07:54 +00:00
|
|
|
CATEGORIES = x11
|
|
|
|
|
2019-07-10 21:01:26 +00:00
|
|
|
HOMEPAGE = https://dri.freedesktop.org/wiki/DriConf
|
|
|
|
MASTER_SITES = https://people.freedesktop.org/~fxkuehl/driconf/ \
|
|
|
|
https://distfiles.nl/
|
2008-07-11 13:07:54 +00:00
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2008-07-11 13:07:54 +00:00
|
|
|
|
|
|
|
MODULES = lang/python
|
2010-11-22 08:36:47 +00:00
|
|
|
RUN_DEPENDS = x11/py-gtk2
|
2008-07-11 13:07:54 +00:00
|
|
|
|
|
|
|
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>
|