summaryrefslogtreecommitdiff
path: root/www/tidy-devel/Makefile
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-08-18 06:19:18 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-08-18 06:19:18 +0000
commit5c71a834d236a5e538342b587a32f6cd492df89f (patch)
tree5b8fc9c1a93a7aa129dab80cc1aef349f831fd50 /www/tidy-devel/Makefile
parentupdate ports/net/mpich: 1.2.5_1 -> 1.2.5_2 (diff)
update www/tidy-devel: 030801 -> 030815
PR: 55654 Submitted by: Thierry Thomas <thierry@pompo.net> (maintainer)
Diffstat (limited to 'www/tidy-devel/Makefile')
-rw-r--r--www/tidy-devel/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
index 2b451db5b071..fe45b39ff1b4 100644
--- a/www/tidy-devel/Makefile
+++ b/www/tidy-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= tidy
-PORTVERSION= 030801
+PORTVERSION= 030815
CATEGORIES= www
MASTER_SITES= http://tidy.sourceforge.net/src/%SUBDIR%/ \
http://tidy.sourceforge.net/docs/:docs
@@ -55,9 +55,20 @@ post-patch:
@${CP} ${WRKSRC}/build/gmake/Makefile ${WRKSRC}
.else
@${CP} -R -f ${WRKSRC}/build/gnuauto/* ${WRKSRC}
- (cd ${WRKSRC} \
- && ${LIBTOOLIZE} --force --copy \
- && ${ACLOCAL})
+.endif
+
+patch-libtool:
+.if defined(WITH_SHLIB)
+ @(cd ${WRKSRC} \
+ && ${LIBTOOLIZE} --force --copy \
+ && ${ACLOCAL})
+ @(cd ${PATCH_WRKSRC}; \
+ for file in ${LIBTOOLFILES}; do \
+ ${CP} $$file $$file.tmp; \
+ ${SED} -e "s^\$$ac_aux_dir/ltconfig^${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION}^g" \
+ -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LIBTOOL_SHAREDIR}/ltmain.sh^g" \
+ $$file.tmp > $$file; \
+ done);
.endif
pre-install: