summaryrefslogtreecommitdiff
path: root/x11/Xbae
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /x11/Xbae
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'x11/Xbae')
-rw-r--r--x11/Xbae/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/Xbae/Makefile b/x11/Xbae/Makefile
index 7f9eab80c8f..1bf7390eb65 100644
--- a/x11/Xbae/Makefile
+++ b/x11/Xbae/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/02/05 23:11:31 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2008/06/12 02:14:57 joerg Exp $
#
DISTNAME= xbae-4.51.01
@@ -11,15 +11,18 @@ MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://xbae.sourceforge.net/
COMMENT= Motif-compatible widgets: XbaeMatrix, XbaeCaption, XbaeInput
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-motif-includes=${MOTIFBASE}/include
CONFIGURE_ARGS+= --with-motif-libraries=${MOTIFBASE}/lib
+INSTALLATION_DIRS= share/aclocal
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
- ${INSTALL_DATA} ${WRKSRC}/ac_find_xbae.m4 ${PREFIX}/share/aclocal
+ ${INSTALL_DATA} ${WRKSRC}/ac_find_xbae.m4 ${DESTDIR}${PREFIX}/share/aclocal
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"