1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 0.3 and add STAGE support

This commit is contained in:
Martin Matuska 2014-01-19 10:43:39 +00:00
parent d5c4a9391f
commit 1711119092
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340259
2 changed files with 14 additions and 15 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= udns
PORTVERSION= 0.2
PORTVERSION= 0.3
CATEGORIES= dns
MASTER_SITES= http://www.corpit.ru/mjt/udns/
@ -26,7 +26,6 @@ SHLIB_MAJOR= 0
MAN1= dnsget.1 rblcheck.1
MAN3= udns.3
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
@ -40,25 +39,25 @@ post-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libudns.so.${SHLIB_MAJOR} \
${PREFIX}/lib/libudns.so.${SHLIB_MAJOR}
${LN} -sf ${PREFIX}/lib/libudns.so.${SHLIB_MAJOR} \
${PREFIX}/lib/libudns.so
${INSTALL_DATA} ${WRKSRC}/udns.h ${PREFIX}/include/udns.h
${INSTALL_DATA} ${WRKSRC}/libudns.a ${PREFIX}/lib/libudns.a
${INSTALL_PROGRAM} ${WRKSRC}/dnsget_s ${PREFIX}/bin/dnsget
${INSTALL_PROGRAM} ${WRKSRC}/rblcheck_s ${PREFIX}/bin/rblcheck
${STAGEDIR}${PREFIX}/lib/libudns.so.${SHLIB_MAJOR}
${LN} -sf ${STAGEDIR}${PREFIX}/lib/libudns.so.${SHLIB_MAJOR} \
${STAGEDIR}${PREFIX}/lib/libudns.so
${INSTALL_DATA} ${WRKSRC}/udns.h ${STAGEDIR}${PREFIX}/include/udns.h
${INSTALL_DATA} ${WRKSRC}/libudns.a ${STAGEDIR}${PREFIX}/lib/libudns.a
${INSTALL_PROGRAM} ${WRKSRC}/dnsget_s ${STAGEDIR}${PREFIX}/bin/dnsget
${INSTALL_PROGRAM} ${WRKSRC}/rblcheck_s ${STAGEDIR}${PREFIX}/bin/rblcheck
.for FILE in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1/${FILE}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${MANPREFIX}/man/man1/${FILE}
.endfor
.for FILE in ${MAN3}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man3/${FILE}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${MANPREFIX}/man/man3/${FILE}
.endfor
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in NEWS NOTES TODO
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
.endfor
.endif

View File

@ -1,2 +1,2 @@
SHA256 (udns-0.2.tar.gz) = 558c7d7acc358e13f91f73ba7fef0ed094010716a8dcee286eef05d0ff264224
SIZE (udns-0.2.tar.gz) = 87308
SHA256 (udns-0.3.tar.gz) = 08773c060e3e1841374ecca01a9a4430e5a4e9728a8b8b3a5157e54b67ab4e5d
SIZE (udns-0.3.tar.gz) = 84565