summaryrefslogtreecommitdiff
path: root/x11/driconf
diff options
context:
space:
mode:
authorbjs <bjs>2008-10-21 06:40:59 +0000
committerbjs <bjs>2008-10-21 06:40:59 +0000
commit0b3918edb7b56d992af25219b17fa7f59bb1dfe5 (patch)
tree814852a09bb06c55d97d104988510029ddd2a1a7 /x11/driconf
parentc6565937a7d1aedb3543c2d5af833de59d482ac9 (diff)
downloadpkgsrc-0b3918edb7b56d992af25219b17fa7f59bb1dfe5.tar.gz
Remove dependency on py-xml and replace it with textproc/py-expat.
Remove spurious #. We're done now. ;)
Diffstat (limited to 'x11/driconf')
-rw-r--r--x11/driconf/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/driconf/Makefile b/x11/driconf/Makefile
index ccee29da035..a43d200768b 100644
--- a/x11/driconf/Makefile
+++ b/x11/driconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/10/21 06:34:56 bjs Exp $
+# $NetBSD: Makefile,v 1.3 2008/10/21 06:40:59 bjs Exp $
#
DISTNAME= driconf-0.9.1
@@ -11,6 +11,7 @@ COMMENT= Configuration applet for DRI drivers
PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= xdriinfo>=1.0.2:../../x11/xdriinfo
USE_DIRS+= xdg-1.4
@@ -29,19 +30,20 @@ SUBST_FILES.fix-paths+= setup.cfg setup.py
SUBST_MESSAGE.fix-paths=Fixing hard-coded pathnames.
SUBST_STAGE.fix-paths= pre-configure
SUBST_VARS.fix-paths= PKGBASE PKGLOCALEDIR PKG_SYSCONFDIR PREFIX PYSITELIB
-
+###
+### NOTE: this is only to build the .mo files.
+###
pre-build:
${RUN} cd ${WRKSRC} && \
${BUILD_MAKE_CMD} all
-#post-install:
+post-install:
${RUN} cd ${WRKSRC} && \
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/driconf.desktop \
${DESTDIR}${PREFIX}/share/applications/
.include "../../lang/python/extension.mk"
-#.include "../../textproc/py-xml/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/py-gtk2/buildlink3.mk"