aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libcidr/Makefile19
-rw-r--r--devel/libcidr/distinfo4
-rw-r--r--devel/libcidr/pkg-plist25
3 files changed, 29 insertions, 19 deletions
diff --git a/devel/libcidr/Makefile b/devel/libcidr/Makefile
index 12a9743f4e9..e9c58a6806a 100644
--- a/devel/libcidr/Makefile
+++ b/devel/libcidr/Makefile
@@ -2,24 +2,27 @@
# $FreeBSD$
PORTNAME= libcidr
-DISTVERSION= 1.2.2
+DISTVERSION= 1.2.3
CATEGORIES= devel
MASTER_SITES= http://www.over-yonder.net/~fullermd/projects/${PORTNAME}/ \
- http://distfiles.over-yonder.net/${PORTNAME}/ \
- http://mirrors.rit.edu/zi/
+ http://distfiles.over-yonder.net/${PORTNAME}/
MAINTAINER= fullermd@over-yonder.net
-COMMENT= A library to handle manipulating CIDR netblocks
+COMMENT= Library to handle manipulating CIDR netblocks
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_XZ= yes
USE_LDCONFIG= yes
-MAKE_ENV+= CIDR_DOCDIR=${DOCSDIR} CIDR_EXDIR=${EXAMPLESDIR} NO_DOCS=yes
+MAKE_ENV+= CIDR_DOCDIR=${DOCSDIR} CIDR_EXDIR=${EXAMPLESDIR}
-.if defined(NOPORTEXAMPLES)
-MAKE_ENV+= NO_EXAMPLES=yes
-.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+DOCS_MAKE_ENV_OFF= NO_DOCS=yes
+EXAMPLES_MAKE_ENV_OFF= NO_EXAMPLES=yes
+
+post-patch:
+ @${REINPLACE_CMD} 's|-g -O2 -pipe||' ${WRKSRC}/src/Makefile.inc
.include <bsd.port.mk>
diff --git a/devel/libcidr/distinfo b/devel/libcidr/distinfo
index fbf93c66487..ebee5402b82 100644
--- a/devel/libcidr/distinfo
+++ b/devel/libcidr/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libcidr-1.2.2.tar.xz) = 918b76f80ed1a3a2f44adc5956b3a56417175c2856f380980049becba52e5d24
-SIZE (libcidr-1.2.2.tar.xz) = 151800
+SHA256 (libcidr-1.2.3.tar.xz) = afbe266a9839775a21091b0e44daaf890a46ea4c2d3f5126b3048d82b9bfbbc4
+SIZE (libcidr-1.2.3.tar.xz) = 155144
diff --git a/devel/libcidr/pkg-plist b/devel/libcidr/pkg-plist
index e51cf26d71f..9f1402b449e 100644
--- a/devel/libcidr/pkg-plist
+++ b/devel/libcidr/pkg-plist
@@ -1,15 +1,22 @@
-lib/libcidr.so
-lib/libcidr.so.0
bin/cidrcalc
include/libcidr.h
+lib/libcidr.so
+lib/libcidr.so.0
man/man3/libcidr.3.gz
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.inc
+%%PORTDOCS%%%%DOCSDIR%%/codelibrary-html.css
+%%PORTDOCS%%%%DOCSDIR%%/libcidr-big.html
+%%PORTDOCS%%%%DOCSDIR%%/libcidr.dvi
+%%PORTDOCS%%%%DOCSDIR%%/libcidr.pdf
+%%PORTDOCS%%%%DOCSDIR%%/libcidr.ps
+%%PORTDOCS%%%%DOCSDIR%%/libcidr.rtf
+%%PORTDOCS%%%%DOCSDIR%%/libcidr.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cidrcalc/cidrcalc.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cidrcalc/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acl/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acl/acl.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acl/acl.example
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acl/Makefile
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cidrcalc
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/acl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cidrcalc/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cidrcalc/cidrcalc.c
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/cidrcalc
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/acl
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%