summaryrefslogtreecommitdiff
path: root/x11/Xbae
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-02-12 03:59:10 +0000
committerwiz <wiz@pkgsrc.org>2000-02-12 03:59:10 +0000
commit1f00cfa5f5ec9477c4669c090898b05e27630bd4 (patch)
treed2383d521a5feeed8fa518fca3c63467ff0f9d28 /x11/Xbae
parent76c5a32025358ac12add384fb62628734b8acaaf (diff)
downloadpkgsrc-1f00cfa5f5ec9477c4669c090898b05e27630bd4.tar.gz
be more autoconf-friendly, link ac_find_xbae.m4 to ${LOCALBASE}/share/aclocal
Diffstat (limited to 'x11/Xbae')
-rw-r--r--x11/Xbae/Makefile8
-rw-r--r--x11/Xbae/pkg/PLIST5
2 files changed, 11 insertions, 2 deletions
diff --git a/x11/Xbae/Makefile b/x11/Xbae/Makefile
index b2cef3dabb5..30a9d4aa42f 100644
--- a/x11/Xbae/Makefile
+++ b/x11/Xbae/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/02/03 19:41:03 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2000/02/12 03:59:10 wiz Exp $
#
DISTNAME= Xbae-4.7.1
@@ -14,5 +14,11 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-build-12 \
--enable-build-20 --enable-default-20
+PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+
+post-install:
+ ${TEST} ${PREFIX} = ${LOCALBASE} || \
+ ${LN} -fs ${PREFIX}/share/aclocal/ac_find_xbae.m4 \
+ ${LOCALBASE}/share/aclocal/ac_find_xbae.m4
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/Xbae/pkg/PLIST b/x11/Xbae/pkg/PLIST
index ec4c3a32680..b45a3e716e2 100644
--- a/x11/Xbae/pkg/PLIST
+++ b/x11/Xbae/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/02/03 19:41:04 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/02/12 03:59:10 wiz Exp $
include/Xbae/Matrix.h
include/Xbae/Input.h
include/Xbae/Caption.h
@@ -15,3 +15,6 @@ man/man3/XbaeInput.3
man/man3/XbaeMatrix.3
share/aclocal/ac_find_xbae.m4
@dirrm include/Xbae
+@exec test %D = ${LOCALBASE} || ln -fs %D/share/aclocal/ac_find_xbae.m4 ${LOCALBASE}/share/aclocal/ac_find_xbae.m4
+@unexec test %D = ${LOCALBASE} || rm ${LOCALBASE}/share/aclocal/ac_find_xbae.m4
+@unexec rmdir %D/share/aclocal 2>/dev/null || true