aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-25 10:25:23 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-25 10:25:23 +0000
commita36be565614d82fe5aa29ae827dd0959ee15f087 (patch)
tree9383e009d34ae95c74c3dec043950a17252a2e27 /textproc/libxslt
parent723692c0146c6b5981e9f3b354c9b4c96902f9b2 (diff)
downloadports-a36be565614d82fe5aa29ae827dd0959ee15f087.tar.gz
ports-a36be565614d82fe5aa29ae827dd0959ee15f087.zip
Switch to USES=libtool
Strip binaries PR: ports/188978 Submitted by: tijl Approved by: kwm (gnome)
Notes
Notes: svn path=/head/; revision=352103
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 5e98363ea2b1..c80d0dd3d8c3 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.28
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
http://xmlsoft.org/sources/ \
@@ -15,10 +15,11 @@ COMMENT?= The XSLT C library for GNOME
.if !defined(REFERENCE_PORT)
-USES= gmake
+USES= gmake libtool:oldver pathfix
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-USE_GNOME?= gnomehack libxml2
+USE_GNOME?= libxml2
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
--without-python
CPPFLAGS+= -I${LOCALBASE}/include
@@ -36,17 +37,9 @@ MEM_DEBUG_DESC= Enable memory debugging
CRYPTO_DESC= Enable crypto support for exslt
.endif
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMEM_DEBUG}
-CONFIGURE_ARGS+= --with-mem-debug
-.endif
-
-.if ${PORT_OPTIONS:MCRYPTO}
-LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
-.else
-CONFIGURE_ARGS+=--without-crypto
-.endif
+MEM_DEBUG_CONFIGURE_ON= --with-mem-debug
+CRYPTO_CONFIGURE_WITH= crypto
+CRYPTO_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
post-patch:
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \