3618543557
Poslib is a portable C++ DNS library, a part of Posadis project. It consists of two parts: a client library and a server library. Using the client library, you can simply develop applications that use the Domain Name System (DNS). It includes many functions for resolving, domain-name manipulation and Resource Record (RR) creation. The server library, based on the client core, can be used to develop DNS servers. By implementing a query entry-point function using the Poslib library of functions, you can easily create DNS servers, without worrying about low-level details such as DNS message compilation, domain-name compression and UDP/TCP transmission. Author: Meilof Veeningen <meilof@users.sourceforge.net> WWW: http://posadis.sourceforge.net/projects/poslib.php PR: ports/55195 Submitted by: Sergei Kolobov <sergei@kolobov.com>
30 lines
629 B
Makefile
30 lines
629 B
Makefile
# New ports collection makefile for: poslib
|
|
# Date created: 2003-08-03
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= poslib
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= devel dns
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= posadis
|
|
|
|
MAINTAINER= sergei@kolobov.com
|
|
COMMENT= Posadis C++ DNS library
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS} -D_REENTRANT"
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|