28 lines
698 B
Makefile
28 lines
698 B
Makefile
# $OpenBSD: Makefile,v 1.15 2020/01/26 11:14:33 jasper Exp $
|
|
|
|
COMMENT = configuration utility for DRI drivers
|
|
|
|
MODPY_EGG_VERSION = 0.9.1
|
|
DISTNAME = driconf-${MODPY_EGG_VERSION}
|
|
REVISION= 6
|
|
CATEGORIES = x11
|
|
|
|
HOMEPAGE = https://dri.freedesktop.org/wiki/DriConf
|
|
MASTER_SITES = https://people.freedesktop.org/~fxkuehl/driconf/ \
|
|
https://distfiles.sigtrap.nl/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
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>
|