diff options
author | heinz <heinz> | 2008-01-03 23:18:07 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-01-03 23:18:07 +0000 |
commit | b518a3fafda5b35ae8d8cb847d5ec4786f8910c6 (patch) | |
tree | 170b0519d8968570a623ea56286e87d7e7634aec /x11 | |
parent | 2d46c3e557e38efeeca844eb5be573a813dcc65f (diff) | |
download | pkgsrc-b518a3fafda5b35ae8d8cb847d5ec4786f8910c6.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'x11')
-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" |