devel/libopkele: fix build with www/tidy-html5
Keep the port deprecated but change the deprecation message, last release was in 2009. Bump PORTREVISION
This commit is contained in:
parent
5795c6a623
commit
f51cc2ff3b
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= libopkele
|
||||
PORTVERSION= 2.0.4
|
||||
PORTREVISION= 20
|
||||
PORTREVISION= 21
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://kin.klever.net/dist/
|
||||
|
||||
|
@ -11,7 +11,7 @@ MAINTAINER= zhoushuqun@gmail.com
|
|||
COMMENT= C++ implementation of an OpenID decentralized identity system
|
||||
WWW= https://kin.klever.net/libopkele/
|
||||
|
||||
DEPRECATED= Depends on deprecated www/tidy-lib
|
||||
DEPRECATED= Last upstream release was in 2009
|
||||
EXPIRATION_DATE=2024-04-24
|
||||
|
||||
LICENSE= MIT
|
||||
|
@ -22,7 +22,7 @@ RUN_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
|
|||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libpcre.so:devel/pcre \
|
||||
libexpat.so:textproc/expat2 \
|
||||
libtidy.so:www/tidy-lib \
|
||||
libtidy5.so:www/tidy-html5 \
|
||||
libxslt.so:textproc/libxslt
|
||||
|
||||
USES= gmake libtool localbase:ldflags pathfix \
|
||||
|
@ -37,5 +37,9 @@ CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e "/^Requires:/s,openssl ,," \
|
||||
${WRKSRC}/libopkele.pc.in
|
||||
@${REINPLACE_CMD} -e "s/-ltidy/-ltidy5/g" \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e "s/buffio.h/tidybuffio.h/g" \
|
||||
${WRKSRC}/include/opkele/tidy.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in New Issue