summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-08 19:00:02 +0000
committertijl <tijl@FreeBSD.org>2014-07-08 19:00:02 +0000
commit368bde99206943c3f011960cca34338e60722b83 (patch)
treeb1f30fc5c3681daf43ad345df0faa51ba4f48b57
parent33a76533656f75fbff5a9799fcb238b7a426b35b (diff)
downloadFreeBSD-ports-368bde99206943c3f011960cca34338e60722b83.zip
FreeBSD-ports-368bde99206943c3f011960cca34338e60722b83.tar.gz
- USES=libtool pathfix tar:bzip2
- Add INSTALL_TARGET=install-strip - Don't patch Makefile.am and configure.in to avoid autotools
-rw-r--r--net-p2p/dclib/Makefile23
-rw-r--r--net-p2p/dclib/pkg-plist2
2 files changed, 10 insertions, 15 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index bcb76a8..9b2aab2 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dclib
PORTVERSION= 0.3.23
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-p2p
MASTER_SITES= SF/wxdcgui/${PORTNAME}/${PORTVERSION}
@@ -14,31 +14,26 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/${DISTNAME}
-USE_BZIP2= yes
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USES= libtool pathfix tar:bzip2
USE_LDCONFIG= yes
USE_GNOME= libxml2
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${OSVERSION} >= 1000015
EXTRA_PATCHES= ${FILESDIR}/extra-dclib-core_cssl.cpp
.endif
-post-extract:
- ${CHMOD} 0755 ${WRKSRC}/admin/install-sh
-
post-patch:
-# ${REINPLACE_CMD} -e 's|-O2 ||g; s/-pedantic //g' \
-# ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- ${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
- ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
- ${FIND} ${WRKSRC} -name "Makefile.*" | ${XARGS} \
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e 's|dclib-0.3/||g'
${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in
${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \
- s|-D_BSD_SOURCE||g' ${WRKSRC}/configure ${WRKSRC}/configure.in
+ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-p2p/dclib/pkg-plist b/net-p2p/dclib/pkg-plist
index cbf96d7..b943609 100644
--- a/net-p2p/dclib/pkg-plist
+++ b/net-p2p/dclib/pkg-plist
@@ -58,9 +58,9 @@ include/dclib/dclib-stl-use.h
include/dclib/dclib.h
include/dclib/dcobject.h
include/dclib/dcos.h
-lib/libdc.la
lib/libdc.so
lib/libdc.so.5
+lib/libdc.so.5.0.0
@dirrmtry lib/dclib/plugin
@dirrmtry lib/dclib
libdata/pkgconfig/dclib.pc
OpenPOWER on IntegriCloud