summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-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