aboutsummaryrefslogtreecommitdiff
path: root/devel/poslib
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-06 17:58:51 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-06 17:58:51 +0000
commit140f18025de4fd270eb30afd13467f6a707e5117 (patch)
tree88f57847bac25bd7f0e525d33a4b33bbd24ba284 /devel/poslib
parent746cb37fab510b6f96fe969bfe277da53bb87cbc (diff)
downloadports-140f18025de4fd270eb30afd13467f6a707e5117.tar.gz
ports-140f18025de4fd270eb30afd13467f6a707e5117.zip
Notes
Diffstat (limited to 'devel/poslib')
-rw-r--r--devel/poslib/Makefile13
-rw-r--r--devel/poslib/distinfo2
-rw-r--r--devel/poslib/pkg-plist72
3 files changed, 49 insertions, 38 deletions
diff --git a/devel/poslib/Makefile b/devel/poslib/Makefile
index a140491a83fa..52bf415f7aef 100644
--- a/devel/poslib/Makefile
+++ b/devel/poslib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= poslib
-PORTVERSION= 1.0
+PORTVERSION= 1.0.1
CATEGORIES= devel dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= posadis
@@ -15,14 +15,21 @@ MAINTAINER= sergei@kolobov.com
COMMENT= Posadis C++ DNS library
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS} -D_REENTRANT"
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS:C/-O.*/-O0 /} ${PTHREAD_CFLAGS}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+PLIST_SUB= VERSION="${PORTVERSION}"
+
DOCS= AUTHORS ChangeLog NEWS README TODO
+EXAMPLES= examples/*.cpp
-.if !defined(NOPORTDOCS)
post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
diff --git a/devel/poslib/distinfo b/devel/poslib/distinfo
index f55341ca9081..12da7bba41b6 100644
--- a/devel/poslib/distinfo
+++ b/devel/poslib/distinfo
@@ -1 +1 @@
-MD5 (poslib-1.0.tar.gz) = c87a9fa5eeca7465ede03d3196cb4277
+MD5 (poslib-1.0.1.tar.gz) = 7023b9142f89266762418283bac6df7b
diff --git a/devel/poslib/pkg-plist b/devel/poslib/pkg-plist
index 82e54ddc5649..c68c98aa009f 100644
--- a/devel/poslib/pkg-plist
+++ b/devel/poslib/pkg-plist
@@ -1,36 +1,36 @@
@comment $FreeBSD$
bin/poslib-config
-include/poslib-1.0/poslib/bits.h
-include/poslib-1.0/poslib/dnsdefs.h
-include/poslib-1.0/poslib/dnsmessage.h
-include/poslib-1.0/poslib/domainfn.h
-include/poslib-1.0/poslib/exception.h
-include/poslib-1.0/poslib/lexfn.h
-include/poslib-1.0/poslib/masterfile.h
-include/poslib-1.0/poslib/poslib.h
-include/poslib-1.0/poslib/postime.h
-include/poslib-1.0/poslib/random.h
-include/poslib-1.0/poslib/resolver.h
-include/poslib-1.0/poslib/rr.h
-include/poslib-1.0/poslib/server/configuration.h
-include/poslib-1.0/poslib/server/handlequery.h
-include/poslib-1.0/poslib/server/log.h
-include/poslib-1.0/poslib/server/pending.h
-include/poslib-1.0/poslib/server/posthreads.h
-include/poslib-1.0/poslib/server/requestid.h
-include/poslib-1.0/poslib/server/server.h
-include/poslib-1.0/poslib/server/serverthread.h
-include/poslib-1.0/poslib/server/srvresolver.h
-@dirrm include/poslib-1.0/poslib/server
-include/poslib-1.0/poslib/socket.h
-include/poslib-1.0/poslib/syssocket.h
-include/poslib-1.0/poslib/sysstl.h
-include/poslib-1.0/poslib/sysstring.h
-include/poslib-1.0/poslib/types.h
-include/poslib-1.0/poslib/vsnprintf.h
-include/poslib-1.0/poslib/w32poll.h
-@dirrm include/poslib-1.0/poslib
-@dirrm include/poslib-1.0
+include/poslib-%%VERSION%%/poslib/bits.h
+include/poslib-%%VERSION%%/poslib/dnsdefs.h
+include/poslib-%%VERSION%%/poslib/dnsmessage.h
+include/poslib-%%VERSION%%/poslib/domainfn.h
+include/poslib-%%VERSION%%/poslib/exception.h
+include/poslib-%%VERSION%%/poslib/lexfn.h
+include/poslib-%%VERSION%%/poslib/masterfile.h
+include/poslib-%%VERSION%%/poslib/poslib.h
+include/poslib-%%VERSION%%/poslib/postime.h
+include/poslib-%%VERSION%%/poslib/random.h
+include/poslib-%%VERSION%%/poslib/resolver.h
+include/poslib-%%VERSION%%/poslib/rr.h
+include/poslib-%%VERSION%%/poslib/server/configuration.h
+include/poslib-%%VERSION%%/poslib/server/handlequery.h
+include/poslib-%%VERSION%%/poslib/server/log.h
+include/poslib-%%VERSION%%/poslib/server/pending.h
+include/poslib-%%VERSION%%/poslib/server/posthreads.h
+include/poslib-%%VERSION%%/poslib/server/requestid.h
+include/poslib-%%VERSION%%/poslib/server/server.h
+include/poslib-%%VERSION%%/poslib/server/serverthread.h
+include/poslib-%%VERSION%%/poslib/server/srvresolver.h
+@dirrm include/poslib-%%VERSION%%/poslib/server
+include/poslib-%%VERSION%%/poslib/socket.h
+include/poslib-%%VERSION%%/poslib/syssocket.h
+include/poslib-%%VERSION%%/poslib/sysstl.h
+include/poslib-%%VERSION%%/poslib/sysstring.h
+include/poslib-%%VERSION%%/poslib/types.h
+include/poslib-%%VERSION%%/poslib/vsnprintf.h
+include/poslib-%%VERSION%%/poslib/w32poll.h
+@dirrm include/poslib-%%VERSION%%/poslib
+@dirrm include/poslib-%%VERSION%%
lib/libposlib.a
lib/libposlib.la
lib/libposlib.so
@@ -39,12 +39,16 @@ lib/libposserver.a
lib/libposserver.la
lib/libposserver.so
lib/libposserver.so.0
-lib/poslib-1.0/include/poslib-config.h
-@dirrm lib/poslib-1.0/include
-@dirrm lib/poslib-1.0
+lib/poslib-%%VERSION%%/include/poslib-config.h
+@dirrm lib/poslib-%%VERSION%%/include
+@dirrm lib/poslib-%%VERSION%%
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/dnstimeago.cpp
+%%EXAMPLESDIR%%/host.cpp
+%%EXAMPLESDIR%%/server.cpp
+@dirrm %%EXAMPLESDIR%%