pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc PKG_DESTDIR_SUPPORT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75544ec2d204
branches:  trunk
changeset: 568744:75544ec2d204
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 19:02:05 2009 +0000

description:
PKG_DESTDIR_SUPPORT

diffstat:

 www/zopeedit/Makefile |  12 +++++++-----
 x11/labltk/Makefile   |   6 +++++-
 x11/labltk/PLIST      |   3 +--
 3 files changed, 13 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r 4cda09e922e8 -r 75544ec2d204 www/zopeedit/Makefile
--- a/www/zopeedit/Makefile     Thu Dec 17 18:48:39 2009 +0000
+++ b/www/zopeedit/Makefile     Thu Dec 17 19:02:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2009/09/07 19:02:14 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2009/12/17 19:02:44 abs Exp $
 #
 
 DISTNAME=      zopeedit-0.7-src
@@ -12,13 +12,15 @@
 HOMEPAGE=      http://www.zope.org/Members/Caseman/ExternalEditor
 COMMENT=       Helper client application for Zope's ExternalEditor
 
-PYTHON_VERSIONS_ACCEPTED=      25 24
+PYTHON_VERSIONS_ACCEPTED=      26 25 24
 PYDISTUTILSPKG=        yes
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS+=    share/doc/zopeedit ${PKGMANDIR}/man1
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zopeedit
-       ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/zopeedit
-       ${INSTALL_MAN} ${WRKSRC}/man/zopeedit.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/zopeedit
+       ${INSTALL_MAN} ${WRKSRC}/man/zopeedit.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/application.mk"
diff -r 4cda09e922e8 -r 75544ec2d204 x11/labltk/Makefile
--- a/x11/labltk/Makefile       Thu Dec 17 18:48:39 2009 +0000
+++ b/x11/labltk/Makefile       Thu Dec 17 19:02:05 2009 +0000
@@ -1,4 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2009/09/08 18:35:46 tonio Exp $
+# $NetBSD: Makefile,v 1.10 2009/12/17 19:02:05 abs Exp $
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS+=    lib/ocaml/stublibs
+MAKE_JOBS_SAFE=                no
 
 .include "../../lang/ocaml/Makefile.common"
 
diff -r 4cda09e922e8 -r 75544ec2d204 x11/labltk/PLIST
--- a/x11/labltk/PLIST  Thu Dec 17 18:48:39 2009 +0000
+++ b/x11/labltk/PLIST  Thu Dec 17 19:02:05 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 22:06:40 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/12/17 19:02:05 abs Exp $
 bin/labltk
 bin/ocamlbrowser
 lib/ocaml/labltk/balloon.cmi
@@ -215,7 +215,6 @@
 lib/ocaml/labltk/tkthread.cmi
 lib/ocaml/labltk/tkthread.cmo
 lib/ocaml/labltk/tkthread.mli
-lib/ocaml/labltk/tkthread.o
 lib/ocaml/labltk/tkvars.cmi
 lib/ocaml/labltk/tkvars.mli
 lib/ocaml/labltk/tkwait.cmi



Home | Main Index | Thread Index | Old Index