[Midnightbsd-cvs] mports [18112] trunk/textproc/libxslt: update plist

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Mar 13 06:19:51 EDT 2015


Revision: 18112
          http://svnweb.midnightbsd.org/mports/?rev=18112
Author:   laffer1
Date:     2015-03-13 06:19:50 -0400 (Fri, 13 Mar 2015)
Log Message:
-----------
update plist

Modified Paths:
--------------
    trunk/textproc/libxslt/Makefile
    trunk/textproc/libxslt/pkg-plist

Modified: trunk/textproc/libxslt/Makefile
===================================================================
--- trunk/textproc/libxslt/Makefile	2015-03-13 09:52:22 UTC (rev 18111)
+++ trunk/textproc/libxslt/Makefile	2015-03-13 10:19:50 UTC (rev 18112)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libxslt
 PORTVERSION=	1.1.28
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES?=	textproc gnome
 MASTER_SITES=	ftp://xmlsoft.org/libxml2/ \
 		http://xmlsoft.org/sources/ \
@@ -16,7 +16,7 @@
 
 .if !defined(REFERENCE_PORT)
 
-USES=		gmake libtool:oldver pathfix
+USES+=		gmake libtool pathfix
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
@@ -36,18 +36,10 @@
 CRYPTO_DESC=	Enable crypto support for exslt
 .endif
 
-.include <bsd.mport.options.mk>
+MEM_DEBUG_CONFIGURE_ON=	--with-mem-debug
+CRYPTO_CONFIGURE_WITH=	crypto
+CRYPTO_LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt
 
-.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
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
 		${WRKSRC}/doc/Makefile.in
@@ -55,6 +47,12 @@
 		s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \
 		${WRKSRC}/doc/Makefile.in
 
+.if !defined(MASTERDIR)
+post-install:
+	${LN} -s libxslt.so.1 ${PREFIX}/lib/libxslt.so.2
+	${LN} -s libexslt.so.0 ${PREFIX}/lib/libexslt.so.8
+.endif
+
 .include <bsd.port.mk>
 
 .endif

Modified: trunk/textproc/libxslt/pkg-plist
===================================================================
--- trunk/textproc/libxslt/pkg-plist	2015-03-13 09:52:22 UTC (rev 18111)
+++ trunk/textproc/libxslt/pkg-plist	2015-03-13 10:19:50 UTC (rev 18112)
@@ -25,12 +25,14 @@
 include/libxslt/xsltlocale.h
 include/libxslt/xsltutils.h
 lib/libexslt.a
-lib/libexslt.la
 lib/libexslt.so
+lib/libexslt.so.0
+lib/libexslt.so.0.8.17
 lib/libexslt.so.8
 lib/libxslt.a
-lib/libxslt.la
 lib/libxslt.so
+lib/libxslt.so.1
+lib/libxslt.so.1.1.28
 lib/libxslt.so.2
 lib/xsltConf.sh
 @exec mkdir -p %D/lib/libxslt-plugins



More information about the Midnightbsd-cvs mailing list