pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/totem-nautilus Fix installation. Add DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c90778bfe2c2
branches:  trunk
changeset: 543401:c90778bfe2c2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 16 14:44:47 2008 +0000

description:
Fix installation. Add DESTDIR.

diffstat:

 multimedia/totem-nautilus/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 7b875373bc81 -r c90778bfe2c2 multimedia/totem-nautilus/Makefile
--- a/multimedia/totem-nautilus/Makefile        Mon Jun 16 14:43:15 2008 +0000
+++ b/multimedia/totem-nautilus/Makefile        Mon Jun 16 14:44:47 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/04/30 13:38:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/16 14:44:47 joerg Exp $
 #
 
 DISTNAME=      totem-2.22.2
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.gnome.org/projects/totem/
 COMMENT=       Movie player for the GNOME Desktop
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DISTINFO_FILE= ${.CURDIR}/../../multimedia/totem/distinfo
 PATCHDIR=      ${.CURDIR}/../../multimedia/totem/patches
 
@@ -23,9 +25,11 @@
 USE_PKGLOCALEDIR=      YES
 USE_LANGUAGES=         c c++
 
+INSTALLATION_DIRS=     lib/nautilus/extensions-2.0
+
 do-install:
        cd ${WRKSRC}/src && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
-        libtotem-properties-page.la ${PREFIX}/lib/nautilus/extensions-2.0
+        libtotem-properties-page.la ${DESTDIR}${PREFIX}/lib/nautilus/extensions-2.0
 
 BUILDLINK_API_DEPENDS.glib2+=                  glib2>=2.8.0
 BUILDLINK_API_DEPENDS.gnome-icon-theme+=       gnome-icon-theme>=2.10.0



Home | Main Index | Thread Index | Old Index