mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- USES=libtool pathfix tar:bzip2
- Add INSTALL_TARGET=install-strip - Don't patch Makefile.am and configure.in to avoid autotools
This commit is contained in:
parent
ab02e2b2c5
commit
37a5b5d584
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361278
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user