1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to USES=libtool

- Use standard do-install
- Replace post-install with INSTALL_TARGET=install-strip
This commit is contained in:
Tijl Coosemans 2014-07-02 21:11:34 +00:00
parent f0b28e4f86
commit feaceaa602
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360266
2 changed files with 4 additions and 16 deletions

View File

@ -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>

View File

@ -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