1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Bump PORTREVISION for missing pkg-config dependency

Approved by:	maintainer
This commit is contained in:
Kirill Ponomarev 2018-04-22 13:37:25 +00:00
parent 8e02a6aeb0
commit 7fdc576915
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468029

View File

@ -3,20 +3,23 @@
PORTNAME= udns
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.corpit.ru/mjt/udns/
MAINTAINER= mm@FreeBSD.org
COMMENT= DNS resolver library with sync and async queries
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LGPL
USES= pkgconfig
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= IPV6 DOCS
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LGPL
ALL_TARGET= staticlib shared
PORTDOCS= *
@ -25,9 +28,15 @@ SHLIB_MAJOR= 0
IPV6_CONFIGURE_ENABLE= ipv6
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
post-build:
@cd ${WRKSRC} && ${STRIP_CMD} dnsget_s ex-rdns_s rblcheck_s
post-patch:
@${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \
${FILESDIR}/libudns.pc.in > ${WRKDIR}/libudns.pc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libudns.so.${SHLIB_MAJOR} \
${STAGEDIR}${PREFIX}/lib/libudns.so.${SHLIB_MAJOR}
@ -44,6 +53,9 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${MANPREFIX}/man/man3/${FILE}
.endfor
post-install:
${INSTALL_DATA} ${WRKDIR}/libudns.pc ${STAGEDIR}${PKGCONFIGDIR}/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in NEWS NOTES TODO