4 DISTNAME= driconf-0.9.1
6 MASTER_SITES= ${MASTER_SITE_LOCAL}
8 MAINTAINER= bjs@NetBSD.org
9 HOMEPAGE= http://dri.freedesktop.org/wiki/DriConf
10 COMMENT= Configuration applet for DRI drivers
12 PKG_DESTDIR_SUPPORT= user-destdir
14 DEPENDS+= xdriinfo>=1.0.2:../../x11/xdriinfo
17 USE_TOOLS+= msgfmt msgmerge xgettext
19 CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
22 PYTHON_VERSIONS_INCOMPATIBLE= 15 21
24 SUBST_CLASSES+= fix-paths
25 SUBST_FILES.fix-paths= driconf driconf.desktop
26 SUBST_FILES.fix-paths+= driconf.py driconf_com*ui.py
27 SUBST_FILES.fix-paths+= setup.cfg setup.py
28 SUBST_MESSAGE.fix-paths=Fixing hard-coded pathnames.
29 SUBST_STAGE.fix-paths= pre-configure
30 SUBST_VARS.fix-paths= PKGBASE PKGLOCALEDIR PKG_SYSCONFDIR PREFIX PYSITELIB
33 ${RUN} cd ${WRKSRC} && \
37 ${RUN} cd ${WRKSRC} && \
38 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/applications && \
39 ${INSTALL_DATA} ${WRKSRC}/driconf.desktop \
40 ${DESTDIR}${PREFIX}/share/applications/
42 .include "../../lang/python/extension.mk"
43 #.include "../../textproc/py-xml/buildlink3.mk"
44 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
45 .include "../../x11/py-gtk2/buildlink3.mk"
47 .include "../../mk/bsd.pkg.mk"