pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/rarian Supports DESTDIR. Make sure that share...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1abec47a3d7c
branches:  trunk
changeset: 541282:1abec47a3d7c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 18 12:00:13 2008 +0000

description:
Supports DESTDIR. Make sure that share/omf exists for binary packages as
well.

diffstat:

 textproc/rarian/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 585397eae012 -r 1abec47a3d7c textproc/rarian/Makefile
--- a/textproc/rarian/Makefile  Fri Apr 18 11:58:59 2008 +0000
+++ b/textproc/rarian/Makefile  Fri Apr 18 12:00:13 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2008/04/11 18:41:53 drochner Exp $
+# $NetBSD: Makefile,v 1.5 2008/04/18 12:00:13 joerg Exp $
 #
 
 DISTNAME=      rarian-0.8.0
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  http://rarian.freedesktop.org/Releases/
 MASTER_SITES+= ${MASTER_SITE_GNOME:=sources/rarian/0.8/}
@@ -11,6 +12,8 @@
 HOMEPAGE=      http://rarian.freedesktop.org/
 COMMENT=       Documentation metadata library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    scrollkeeper-[0-9]*
 
 GNU_CONFIGURE= yes
@@ -24,10 +27,7 @@
 
 DEPENDS+=      getopt-[0-9]*:../../misc/getopt
 
-# we don't install anything here, but dependent pkgs do,
-# so we are the only instance which can reasonably own that dir
-post-install:
-       ${MKDIR} ${PREFIX}/share/omf
+REQD_DIRS=     share/omf
 
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index