summaryrefslogtreecommitdiffstats
path: root/devel/automake14/Makefile
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2003-06-29 01:58:53 +0000
committerade <ade@FreeBSD.org>2003-06-29 01:58:53 +0000
commit003f817caa3d287379574519ec60089cf0ba7fd0 (patch)
tree302da8c5ec216c4cddf4684f30aeffe7edd6073c /devel/automake14/Makefile
parent4634b60ccc0322844952406dac781ab1c47cb997 (diff)
downloadFreeBSD-ports-003f817caa3d287379574519ec60089cf0ba7fd0.zip
FreeBSD-ports-003f817caa3d287379574519ec60089cf0ba7fd0.tar.gz
Use the cosmetic BUILD_VERSION variable (a la libtool), switch portnames
away from using the version number twice. Unbreak automake17, base on work from Rui Lopes <rui@ruilopes.com>
Diffstat (limited to 'devel/automake14/Makefile')
-rw-r--r--devel/automake14/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/devel/automake14/Makefile b/devel/automake14/Makefile
index 2a5fc09..ccc29f8 100644
--- a/devel/automake14/Makefile
+++ b/devel/automake14/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= automake14
+PORTNAME= automake
PORTVERSION= 1.4.5
PORTREVISION= 9
CATEGORIES= devel
@@ -16,9 +16,12 @@ DISTNAME= automake-1.4-p5
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (legacy version 1.4)
+BUILD_VERSION= 14
+PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
+LATEST_LINK= automake${BUILD_VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL5}
-CONFIGURE_ARGS= --program-suffix=14
+CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
USE_PERL5= yes
USE_REINPLACE= yes
@@ -35,7 +38,7 @@ pre-everything::
.endif # defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
post-patch:
- @${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake14.texi
+ @${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake${BUILD_VERSION}.texi
@${RM} ${WRKSRC}/*.info* ${WRKSRC}/*.dvi >/dev/null 2>&1 || true
pre-configure:
@@ -43,17 +46,17 @@ pre-configure:
${WRKSRC}/aclocal.in
pre-install:
- ${RM} -fr ${PREFIX}/share/automake14
- ${MKDIR} ${PREFIX}/share/automake14
- ${MKDIR} ${PREFIX}/share/aclocal14
- ${MKDIR} ${PREFIX}/libexec/automake14
+ ${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}14 \
- ${PREFIX}/libexec/automake14/${i}
+ ${LN} -sf ${PREFIX}/bin/${i}${BUILD_VERSION} \
+ ${PREFIX}/libexec/automake${BUILD_VERSION}/${i}
.endfor
- @install-info ${PREFIX}/info/automake14.info \
+ @install-info ${PREFIX}/info/automake${BUILD_VERSION}.info \
${PREFIX}/info/dir
.include <bsd.port.mk>
OpenPOWER on IntegriCloud