summaryrefslogtreecommitdiff
path: root/devel/gnu-automake
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2004-07-29 19:24:26 +0000
committerAde Lovett <ade@FreeBSD.org>2004-07-29 19:24:26 +0000
commit1324d86f0e938be985b7471313d70097bc27291f (patch)
tree77ded29fcf26b8935321c71b79820448d89d7d7f /devel/gnu-automake
parent- Fix distinfo (diff)
Actually put in relevant symlinks to the versioned files in
${PREFIX}/bin to non-versioned files in ${PREFIX}/libexec/<autotool><ver> so that the PATH magic in bsd.autotools.mk works correctly.
Notes
Notes: svn path=/head/; revision=115024
Diffstat (limited to 'devel/gnu-automake')
-rw-r--r--devel/gnu-automake/Makefile14
-rw-r--r--devel/gnu-automake/pkg-plist3
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/gnu-automake/Makefile b/devel/gnu-automake/Makefile
index 83d3bda39144..5cd9d41e31cc 100644
--- a/devel/gnu-automake/Makefile
+++ b/devel/gnu-automake/Makefile
@@ -7,7 +7,7 @@
PORTNAME= automake
PORTVERSION= 1.8.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
@@ -48,4 +48,16 @@ post-patch:
)
@${REINPLACE_CMD} -e 's,%%X11BASE%%,${X11BASE},g' ${WRKSRC}/aclocal.in
+pre-install:
+ ${RM} -fr ${PREFIX}/share/automake${BUILD_VERSION}
+ ${MKDIR} ${PREFIX}/share/automake${BUILD_VERSION}
+ ${MKDIR} ${PREFIX}/share/aclocal${BUILD_VERSION}
+ ${MKDIR} ${PREFIX}/libexec/automake${BUILD_VERSION}
+
+post-install:
+.for i in aclocal automake
+ ${LN} -sf ${PREFIX}/bin/${i}${BUILD_VERSION} \
+ ${PREFIX}/libexec/automake${BUILD_VERSION}/${i}
+.endfor
+
.include <bsd.port.mk>
diff --git a/devel/gnu-automake/pkg-plist b/devel/gnu-automake/pkg-plist
index 3865ef48b0ab..2e307b872175 100644
--- a/devel/gnu-automake/pkg-plist
+++ b/devel/gnu-automake/pkg-plist
@@ -3,6 +3,8 @@ bin/automake%%BUILD_VERSION%%
@unexec install-info --delete %D/info/automake%%BUILD_VERSION%%.info %D/info/dir
info/automake%%BUILD_VERSION%%.info
@exec install-info %D/info/automake%%BUILD_VERSION%%.info %D/info/dir
+libexec/automake%%BUILD_VERSION%%/aclocal
+libexec/automake%%BUILD_VERSION%%/automake
share/aclocal%%BUILD_VERSION%%/amversion.m4
share/aclocal%%BUILD_VERSION%%/as.m4
share/aclocal%%BUILD_VERSION%%/auxdir.m4
@@ -115,3 +117,4 @@ share/automake%%BUILD_VERSION%%/ylwrap
@dirrm share/automake%%BUILD_VERSION%%/Automake
@dirrm share/automake%%BUILD_VERSION%%/am
@dirrm share/automake%%BUILD_VERSION%%
+@dirrm libexec/automake%%BUILD_VERSION%%