diff options
author | tron <tron@pkgsrc.org> | 2008-11-16 14:01:11 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2008-11-16 14:01:11 +0000 |
commit | 4de282d2bd1fd260bb6623d92346137c30978a8f (patch) | |
tree | ed51f18fbdd284456d1c4c5384fe59ade84d5d49 /x11 | |
parent | f0b1e25d4642b305837044d70afe16498ecb9f5f (diff) | |
download | pkgsrc-4de282d2bd1fd260bb6623d92346137c30978a8f.tar.gz |
Add support for user destination directory installation.
Patch provided by Aleksey Cheusov in PR pkg/39907..
Diffstat (limited to 'x11')
-rw-r--r-- | x11/startup-notification/Makefile | 8 |
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 |