freebsd-ports/dns/adns/Makefile
Adam Weinberger 44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00

29 lines
731 B
Makefile

# Created by: Kostya Lukin <lukin@okbmei.msk.su>
# $FreeBSD$
PORTNAME= adns
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.chiark.greenend.org.uk/~ian/adns/ftp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy to use asynchronous-capable DNS client library and utilities
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake
LIBVERSION= 1
PLIST_SUB+= LIBVERSION="${LIBVERSION}"
DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README README.html TODO changelog
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/adnslogres ${STAGEDIR}${PREFIX}/bin/adnshost
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>