diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /x11/xdaemon | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'x11/xdaemon')
-rw-r--r-- | x11/xdaemon/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11/xdaemon/Makefile b/x11/xdaemon/Makefile index c46f43ee23b..eb8918a0c4d 100644 --- a/x11/xdaemon/Makefile +++ b/x11/xdaemon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/06/06 20:44:50 hubertf Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:45 joerg Exp $ DISTNAME= xdaemon-1.2 CATEGORIES= games x11 @@ -13,6 +13,8 @@ MAINTAINER= hubertf@NetBSD.org HOMEPAGE= http://www.NetBSD.org/ COMMENT= BSD Daemon sticking on your desktop (like xteddy) +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= xteddy-1.*:../../x11/xteddy CONFLICTS+= xdaemon-2.* @@ -34,11 +36,11 @@ do-extract: do-install: .for img in ${IMAGES} .for sufx in _bw.xbm _color.xpm _icon.xbm _mask.xbm - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${img}${sufx} ${PREFIX}/share/xteddy/pixmaps/${img}${sufx} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${img}${sufx} ${DESTDIR}${PREFIX}/share/xteddy/pixmaps/${img}${sufx} .endfor # sufx - ${RM} -f ${PREFIX}/bin/${img} - ${LN} -s xteddy ${PREFIX}/bin/${img} + ${RM} -f ${DESTDIR}${PREFIX}/bin/${img} + ${LN} -s xteddy ${DESTDIR}${PREFIX}/bin/${img} .endfor # img - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Daemon.README ${PREFIX}/share/doc/xdaemon.README + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Daemon.README ${DESTDIR}${PREFIX}/share/doc/xdaemon.README .include "../../mk/bsd.pkg.mk" |