diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-12 19:59:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-12 19:59:29 +0000 |
commit | 2f63eb0441e023168a584e7d59286e5b63a3cd31 (patch) | |
tree | 7fef9de6843fd2a1c0c642ff556aa9ff04ce5cb1 /wm/wmx | |
parent | d743435046cc4cf2d2a5be6f2e95d92db3f18b92 (diff) | |
download | pkgsrc-2f63eb0441e023168a584e7d59286e5b63a3cd31.tar.gz |
DESTDIR support. Use OWN_DIRS.
Diffstat (limited to 'wm/wmx')
-rw-r--r-- | wm/wmx/Makefile | 4 | ||||
-rw-r--r-- | wm/wmx/Makefile.common | 11 | ||||
-rw-r--r-- | wm/wmx/PLIST | 4 |
3 files changed, 10 insertions, 9 deletions
diff --git a/wm/wmx/Makefile b/wm/wmx/Makefile index 20f0a4d3897..476c807b268 100644 --- a/wm/wmx/Makefile +++ b/wm/wmx/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.12 2007/10/11 21:26:10 adam Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/12 19:59:29 joerg Exp $ PKGNAME= wmx-${WMX_VERS} PKGREVISION= 3 COMMENT= Another X11 window manager based on wm2 +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../wm/wmx/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/wm/wmx/Makefile.common b/wm/wmx/Makefile.common index 5fa83452a6b..4052e5dc75b 100644 --- a/wm/wmx/Makefile.common +++ b/wm/wmx/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.20 2007/10/11 21:26:10 adam Exp $ +# $NetBSD: Makefile.common,v 1.21 2010/02/12 19:59:29 joerg Exp $ DISTNAME= wmx-6 WMX_VERS= 6.0 @@ -22,13 +22,14 @@ PATCHDIR= ${.CURDIR}/../../wm/wmx/patches PLIST_SRC= ${.CURDIR}/../../wm/wmx/PLIST INSTALLATION_DIRS= bin -INSTALLATION_DIRS+= etc/wmx INSTALLATION_DIRS+= share/doc/wmx +OWN_DIRS+= etc/wmx + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmx ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmx - ${INSTALL_DATA} ${WRKSRC}/README.contrib ${PREFIX}/share/doc/wmx + ${INSTALL_PROGRAM} ${WRKSRC}/wmx ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/wmx + ${INSTALL_DATA} ${WRKSRC}/README.contrib ${DESTDIR}${PREFIX}/share/doc/wmx BUILDLINK_DEPMETHOD.libXt+= build diff --git a/wm/wmx/PLIST b/wm/wmx/PLIST index c6e55287444..b74e8b0890e 100644 --- a/wm/wmx/PLIST +++ b/wm/wmx/PLIST @@ -1,6 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:19:03 joerg Exp $ +@comment $NetBSD: PLIST,v 1.7 2010/02/12 19:59:29 joerg Exp $ bin/wmx share/doc/wmx/README share/doc/wmx/README.contrib -@exec ${MKDIR} %D/etc/wmx -@unexec ${RMDIR} -p %D/etc/wmx 2>/dev/null || ${TRUE} |