Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 21:11:35 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360266 - head/textproc/libxdiff
Message-ID:  <201407022111.s62LBZRE093909@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Jul  2 21:11:34 2014
New Revision: 360266
URL: http://svnweb.freebsd.org/changeset/ports/360266
QAT: https://qat.redports.org/buildarchive/r360266/

Log:
  - Convert to USES=libtool
  - Use standard do-install
  - Replace post-install with INSTALL_TARGET=install-strip

Modified:
  head/textproc/libxdiff/Makefile
  head/textproc/libxdiff/pkg-plist

Modified: head/textproc/libxdiff/Makefile
==============================================================================
--- head/textproc/libxdiff/Makefile	Wed Jul  2 21:08:55 2014	(r360265)
+++ head/textproc/libxdiff/Makefile	Wed Jul  2 21:11:34 2014	(r360266)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libxdiff
 PORTVERSION=	0.23
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.xmailserver.org/
 
@@ -14,21 +15,8 @@ LICENSE=	LGPL3
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	libtool
+INSTALL_TARGET=	install-strip
+USES=		libtool
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--enable-shared --enable-static
-
-LIBFILES=	libxdiff.a libxdiff.la libxdiff.so libxdiff.so.0
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/xdiff/xdiff.h ${STAGEDIR}${PREFIX}/include
-.for libs in ${LIBFILES}
-	${INSTALL_DATA} ${WRKSRC}/xdiff/.libs/${libs} ${STAGEDIR}${PREFIX}/lib/
-.endfor
-	${INSTALL_MAN} ${WRKSRC}/man/xdiff.3 ${STAGEDIR}${MAN1PREFIX}/man/man3
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxdiff.so
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxdiff.so.0
 
 .include <bsd.port.mk>

Modified: head/textproc/libxdiff/pkg-plist
==============================================================================
--- head/textproc/libxdiff/pkg-plist	Wed Jul  2 21:08:55 2014	(r360265)
+++ head/textproc/libxdiff/pkg-plist	Wed Jul  2 21:11:34 2014	(r360266)
@@ -1,6 +1,6 @@
 include/xdiff.h
 lib/libxdiff.a
-lib/libxdiff.la
 lib/libxdiff.so
 lib/libxdiff.so.0
+lib/libxdiff.so.0.0.0
 man/man3/xdiff.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407022111.s62LBZRE093909>