diff options
author | heinz <heinz> | 2008-01-03 23:18:07 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-01-03 23:18:07 +0000 |
commit | 320673884d00d02be6fec11ce47baf853f1fc3c1 (patch) | |
tree | 170b0519d8968570a623ea56286e87d7e7634aec /x11/xpmroot | |
parent | 8b3caa26fec645473cfc043c96a7a36f93ac47f5 (diff) | |
download | pkgsrc-320673884d00d02be6fec11ce47baf853f1fc3c1.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'x11/xpmroot')
-rw-r--r-- | x11/xpmroot/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/xpmroot/Makefile b/x11/xpmroot/Makefile index c65acc153a2..15586b109ee 100644 --- a/x11/xpmroot/Makefile +++ b/x11/xpmroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2007/10/30 19:31:43 martti Exp $ +# $NetBSD: Makefile,v 1.58 2008/01/03 23:19:17 heinz Exp $ # DISTNAME= fvwm-${PKG_VERSION} @@ -12,6 +12,8 @@ HOMEPAGE= http://www.fvwm.org/documentation/manpages/stable/xpmroot.php COMMENT= Sets the root window to an Xpm pixmap #LICENSE= gnu-gpl-v2 +PKG_DESTDIR_SUPPORT= user-destdir + PKG_VERSION= 2.4.20 USE_X11BASE= YES GNU_CONFIGURE= YES @@ -28,9 +30,9 @@ do-build: env ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} xpmroot) do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/utils/xpmroot ${PREFIX:Q}/bin + ${INSTALL_PROGRAM} ${WRKSRC:Q}/utils/xpmroot ${DESTDIR}${PREFIX:Q}/bin ${INSTALL_MAN} ${WRKSRC:Q}/utils/xpmroot.1 \ - ${PREFIX:Q}/${PKGMANDIR:Q}/man1 + ${DESTDIR}${PREFIX:Q}/${PKGMANDIR:Q}/man1 .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" |