diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:34:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:34:01 +0000 |
commit | 63f10ebec9788cb560cbc2e2f43c674d949a3204 (patch) | |
tree | c7556765cf5f80d4283a9925deacb3102bc32eb8 /x11/deskmenu | |
parent | 899f3f36e71eba2ce756bed983c09e3d84901891 (diff) | |
download | pkgsrc-63f10ebec9788cb560cbc2e2f43c674d949a3204.tar.gz |
user-destdir support
Diffstat (limited to 'x11/deskmenu')
-rw-r--r-- | x11/deskmenu/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/deskmenu/Makefile b/x11/deskmenu/Makefile index 21ecf7613d2..ccaeff6308f 100644 --- a/x11/deskmenu/Makefile +++ b/x11/deskmenu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/18 16:16:38 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2009/07/07 18:34:01 joerg Exp $ # VERSION= 1.4.2 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.oroborus.org/?node=Download COMMENT= X utility for providing root menus +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= yes @@ -26,9 +28,9 @@ SUBST_SED.fix-paths= -e 's,"/etc,"${PKG_SYSCONFBASE},g' BUILD_DEFS+= PKG_SYSCONFBASE do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/deskmenu ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/deskmenu ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/example_rc \ - ${PREFIX}/share/examples/deskmenu/deskmenurc + ${DESTDIR}${PREFIX}/share/examples/deskmenu/deskmenurc .include "../../x11/libX11/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" |