summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-16 14:44:47 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-16 14:44:47 +0000
commit03b8f0eb5b0fb9e0dccccbf47d65b63b3b88c1c7 (patch)
tree69c68fb97404ca4787d60c017566c21476f216e3 /multimedia
parente3a56179a0dd29eb812a552231508ca09c35fd0f (diff)
downloadpkgsrc-03b8f0eb5b0fb9e0dccccbf47d65b63b3b88c1c7.tar.gz
Fix installation. Add DESTDIR.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/totem-nautilus/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/totem-nautilus/Makefile b/multimedia/totem-nautilus/Makefile
index 981c1c7517d..436d614aa70 100644
--- a/multimedia/totem-nautilus/Makefile
+++ b/multimedia/totem-nautilus/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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_LIBTOOL= YES
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