summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-10-21 01:55:44 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-10-21 01:55:44 +0000
commitc184277d42aca325c8fb66c4b82d26fb0ba2e4ca (patch)
tree0352634e8c8fc60e79556dedc3fb6eec58f8d851
parentFix build on -current (don't try and build with cc -traditional). (diff)
Rewrote installation procedure in Makefile since it wasn't quite right.
Hopefully fixed the PR listed. PR: 44321 Submitted by: parv
Notes
Notes: svn path=/head/; revision=68466
-rw-r--r--devel/automake14/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/devel/automake14/Makefile b/devel/automake14/Makefile
index f1145a0638b2..67cfd8ce0701 100644
--- a/devel/automake14/Makefile
+++ b/devel/automake14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= automake14
PORTVERSION= 1.4.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
@@ -41,17 +41,20 @@ pre-configure:
@${REINPLACE_CMD} -i -e "s,%%X11BASE%%,${X11BASE}," \
${WRKSRC}/aclocal.in
+pre-install:
+ ${MKDIR} ${PREFIX}/share/automake14
+ ${MKDIR} ${PREFIX}/share/aclocal14
+ ${MKDIR} ${PREFIX}/libexec/automake14
+ # temporary
+ cd ${PREFIX}/share/automake14; ln -s . automake
+ cd ${PREFIX}/share/automake14; ln -s ../aclocal14 aclocal
+
post-install:
- @-${RM} -fr ${PREFIX}/libexec/automake14 \
- @${MKDIR} ${PREFIX}/libexec/automake14
.for i in aclocal automake
- @${LN} -s ../../bin/${i}14 \
+ ${LN} -s ../../bin/${i}14 \
${PREFIX}/libexec/automake14/${i}
.endfor
@install-info ${PREFIX}/info/automake14.info \
${PREFIX}/info/dir
- # temporary
- ${LN} -s . ${PREFIX}/share/automake14/automake
- ${LN} -s ../aclocal14 ${PREFIX}/share/automake14/aclocal
.include <bsd.port.mk>