mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Convert to USES=libtool
- Use standard do-install - Replace post-install with INSTALL_TARGET=install-strip
This commit is contained in:
parent
f0b28e4f86
commit
feaceaa602
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360266
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user