diff --git a/net/pen/Makefile b/net/pen/Makefile index c9003912aed3..3ec1b706d449 100644 --- a/net/pen/Makefile +++ b/net/pen/Makefile @@ -7,7 +7,7 @@ # PORTNAME= pen -PORTVERSION= 0.11.0 +PORTVERSION= 0.11.1 CATEGORIES= net MASTER_SITES= ftp://siag.nu/pub/pen/ \ http://siag.nu/pub/pen/ @@ -16,7 +16,7 @@ MAINTAINER= sheepkiller@cultdeadsheep.org COMMENT= A load balancer for "simple" tcp based protocols GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-daemon +CONFIGURE_ARGS= --with-daemon --with-docdir=${DOCSDIR} .if defined(WITH_FDSETSIZE) CONFIGURE_ARGS+= --with-fd_setsize=${WITH_FDSETSIZE} @@ -26,6 +26,10 @@ CONFIGURE_ARGS+= --with-fd_setsize=${WITH_FDSETSIZE} CONFIGURE_ARGS+= --with-poll .endif +.if defined(NOPORTDOCS) +MAKE_ARGS+= -DNOPORTDOCS +.endif + MAN1= mergelogs.1 pen.1 penctl.1 penlog.1 penlogd.1 .include diff --git a/net/pen/distinfo b/net/pen/distinfo index 249ae9382a05..08ce8e362b3b 100644 --- a/net/pen/distinfo +++ b/net/pen/distinfo @@ -1 +1 @@ -MD5 (pen-0.11.0.tar.gz) = 3eb8de600f2954bd50f2758d8bf06e0c +MD5 (pen-0.11.1.tar.gz) = 8917aad055e749104863b013c1e73481 diff --git a/net/pen/files/patch-Makefile.in b/net/pen/files/patch-Makefile.in new file mode 100644 index 000000000000..d7f69fa8cf20 --- /dev/null +++ b/net/pen/files/patch-Makefile.in @@ -0,0 +1,18 @@ +--- Makefile.in.orig Sat Oct 11 18:57:55 2003 ++++ Makefile.in Mon Oct 13 16:29:09 2003 +@@ -296,6 +296,7 @@ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done + install-docDATA: $(doc_DATA) ++.if !defined(NOPORTDOCS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(docdir) + @list='$(doc_DATA)'; for p in $$list; do \ +@@ -304,6 +305,7 @@ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f; \ + done ++.endif + + uninstall-docDATA: + @$(NORMAL_UNINSTALL) diff --git a/net/pen/pkg-plist b/net/pen/pkg-plist index 7fdad5c9533e..c377cd99c93d 100644 --- a/net/pen/pkg-plist +++ b/net/pen/pkg-plist @@ -3,3 +3,10 @@ bin/pen bin/penctl bin/penlog bin/penlogd +%%PORTDOCS%%%%DOCSDIR%%/penstats +%%PORTDOCS%%%%DOCSDIR%%/HOWTO +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%