summaryrefslogtreecommitdiff
path: root/x11/neXtaw
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:21:47 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:21:47 +0000
commit46c823cbded95973cb0b1d73a96d63a4cb2275c8 (patch)
tree001596c8d824751dd151f3e0b729ae9cf3a5f2ab /x11/neXtaw
parentff14ed19f71ddc2b9cdabcdf2bb89523f0cbd30e (diff)
downloadpkgsrc-46c823cbded95973cb0b1d73a96d63a4cb2275c8.tar.gz
user-destdir support
Diffstat (limited to 'x11/neXtaw')
-rw-r--r--x11/neXtaw/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11/neXtaw/Makefile b/x11/neXtaw/Makefile
index fcf109769de..bf24747abfa 100644
--- a/x11/neXtaw/Makefile
+++ b/x11/neXtaw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/01/04 01:25:51 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2009/07/07 18:22:37 joerg Exp $
DISTNAME= neXtaw-0.15.1
PKGREVISION= 3
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://siag.nu/neXtaw/
COMMENT= NeXTstep-like widgets based on the Athena Widget set
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
@@ -22,17 +24,17 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE}
GCC_REQD+= 2.95
.endif
+INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/README.XAW3D ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/README.XAW3D ${DESTDIR}${DOCDIR}
set -e; cd ${WRKSRC}/doc/app-defaults; for file in *; do \
case "$${file}" in \
Makefile*) continue ;; \
esac; \
- ${INSTALL_DATA} "$$file" ${EGDIR}; \
+ ${INSTALL_DATA} "$$file" ${DESTDIR}${EGDIR}; \
done
.include "../../x11/libXext/buildlink3.mk"