aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-03 05:11:34 +0800
committertijl <tijl@FreeBSD.org>2014-07-03 05:11:34 +0800
commitd4e59653a8d8a5632276fd4faf395cc824d40cbf (patch)
treef037405f9ac2492a5f5730e26956b6432b105fb9 /textproc
parentfd6d22427a33e815799fd34bc0dbc70e8a68da31 (diff)
downloadfreebsd-ports-gnome-d4e59653a8d8a5632276fd4faf395cc824d40cbf.tar.gz
freebsd-ports-gnome-d4e59653a8d8a5632276fd4faf395cc824d40cbf.tar.zst
freebsd-ports-gnome-d4e59653a8d8a5632276fd4faf395cc824d40cbf.zip
- Convert to USES=libtool
- Use standard do-install - Replace post-install with INSTALL_TARGET=install-strip
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxdiff/Makefile18
-rw-r--r--textproc/libxdiff/pkg-plist2
2 files changed, 4 insertions, 16 deletions
diff --git a/textproc/libxdiff/Makefile b/textproc/libxdiff/Makefile
index 8d6fc0cb5cc8..e150e675fad3 100644
--- a/textproc/libxdiff/Makefile
+++ b/textproc/libxdiff/Makefile
@@ -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>
diff --git a/textproc/libxdiff/pkg-plist b/textproc/libxdiff/pkg-plist
index 85cd9938c0a1..16cb40aebb47 100644
--- a/textproc/libxdiff/pkg-plist
+++ b/textproc/libxdiff/pkg-plist
@@ -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