summaryrefslogtreecommitdiff
path: root/x11/startup-notification
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-11-16 14:01:11 +0000
committertron <tron@pkgsrc.org>2008-11-16 14:01:11 +0000
commit9c33832656ddb1da4a0fbe837c31e4d20f9bb9eb (patch)
treeed51f18fbdd284456d1c4c5384fe59ade84d5d49 /x11/startup-notification
parentfac967286c7396afb9b17edab730c10843b502b6 (diff)
downloadpkgsrc-9c33832656ddb1da4a0fbe837c31e4d20f9bb9eb.tar.gz
Add support for user destination directory installation.
Patch provided by Aleksey Cheusov in PR pkg/39907..
Diffstat (limited to 'x11/startup-notification')
-rw-r--r--x11/startup-notification/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/startup-notification/Makefile b/x11/startup-notification/Makefile
index 2c37fb2f69c..3c4cb9c5f4d 100644
--- a/x11/startup-notification/Makefile
+++ b/x11/startup-notification/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/03/21 22:32:31 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/11/16 14:01:11 tron Exp $
DISTNAME= startup-notification-0.9
CATEGORIES= x11 gnome
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.gnome.org/
COMMENT= X11 application startup notification library
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
@@ -17,11 +18,14 @@ USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= libstartup-notification-1.0.pc.in
+DOCDIR= ${PREFIX}/share/doc/startup-notification
+INSTALLATION_DIRS+= ${DOCDIR}
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/startup-notification
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog NEWS \
doc/startup-notification.txt \
- ${PREFIX}/share/doc/startup-notification/
+ ${DESTDIR}${DOCDIR}
BUILDLINK_DEPMETHOD.libXt?= build