pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/driconf Remove dependency on py-xml and replace it...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a771734b7125
branches: trunk
changeset: 548708:a771734b7125
user: bjs <bjs%pkgsrc.org@localhost>
date: Tue Oct 21 06:40:59 2008 +0000
description:
Remove dependency on py-xml and replace it with textproc/py-expat.
Remove spurious #. We're done now. ;)
diffstat:
x11/driconf/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 901711d42ba1 -r a771734b7125 x11/driconf/Makefile
--- a/x11/driconf/Makefile Tue Oct 21 06:34:56 2008 +0000
+++ b/x11/driconf/Makefile Tue Oct 21 06:40:59 2008 +0000
@@ -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 @@
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_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"
Home |
Main Index |
Thread Index |
Old Index