aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-29 16:52:45 +0800
committertijl <tijl@FreeBSD.org>2014-08-29 16:52:45 +0800
commit4f26b89cdc6e9a27e47a464662916a31522636fc (patch)
tree99d09b75944ad3f5550444136f3beac0f1d771cf /www
parent613fb3675b462035fadfd355140ea6d3735c6f31 (diff)
downloadfreebsd-ports-gnome-4f26b89cdc6e9a27e47a464662916a31522636fc.tar.gz
freebsd-ports-gnome-4f26b89cdc6e9a27e47a464662916a31522636fc.tar.zst
freebsd-ports-gnome-4f26b89cdc6e9a27e47a464662916a31522636fc.zip
Convert to USES=libtool and INSTALL_TARGET=install-strip
Diffstat (limited to 'www')
-rw-r--r--www/tidy-devel/Makefile24
-rw-r--r--www/tidy-devel/pkg-plist3
2 files changed, 5 insertions, 22 deletions
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
index 6e85f8531c1f..38b3a56950cd 100644
--- a/www/tidy-devel/Makefile
+++ b/www/tidy-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= tidy
DISTVERSION= 090315-cvs
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL}
#MASTER_SITES= http://tidy.sourceforge.net/src/%SUBDIR%/ \
@@ -29,9 +29,11 @@ PLIST_SUB= SHLIB="@comment " NSHLIB=""
MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX}
CONFLICTS= tidy-20000804* tidy-lib-[0-9]*
.else
-USE_AUTOTOOLS= automake autoconf libtool
+USES+= libtool
+USE_AUTOTOOLS= aclocal automake autoconf libtoolize
AUTOMAKE_ARGS+= -a -c --foreign
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
PLIST_SUB= SHLIB="" NSHLIB="@comment "
CONFLICTS= tidy-devel-[0-9]*
.endif
@@ -84,28 +86,10 @@ post-patch:
. endfor
.endif
-patch-autotools-libtool::
-.if defined(WITH_SHLIB)
- (cd ${WRKSRC} \
- && ${LIBTOOLIZE} --force --copy \
- && ${ACLOCAL} \
- && ${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' aclocal.m4)
- (cd ${PATCH_WRKSRC}; \
- for ltf in ${LIBTOOLFILES}; do \
- ${CP} $$ltf $$ltf.tmp; \
- ${SED} -e "s^\$$ac_aux_dir/ltconfig^${LTCONFIG}^g" \
- -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- $$ltf.tmp > $$ltf; \
- done);
-.endif
-
post-install:
.for pgm in ${BIN2STRIP}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${pgm}
.endfor
-.if defined(WITH_SHLIB)
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtidy-0.99.so.0
-.endif
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/www/tidy-devel/pkg-plist b/www/tidy-devel/pkg-plist
index 788c4253df47..b0f815ce6b60 100644
--- a/www/tidy-devel/pkg-plist
+++ b/www/tidy-devel/pkg-plist
@@ -5,8 +5,7 @@ include/tidy/platform.h
include/tidy/tidy.h
include/tidy/tidyenum.h
%%SHLIB%%lib/libtidy-0.99.so.0
-%%SHLIB%%lib/libtidy-0.99.so
-%%SHLIB%%lib/libtidy.la
+%%SHLIB%%lib/libtidy-0.99.so.0.0.0
%%SHLIB%%lib/libtidy.so
lib/libtidy.a
%%NSHLIB%%man/man1/tidy.1.gz