diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-27 06:54:13 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-27 06:54:13 +0000 |
commit | 8b378cfb5058b1e6289b106f41da73896c392391 (patch) | |
tree | dacf681bccf5e88c2d23b74d1a1ba10ed1d05011 /mail/gubby | |
parent | Add p5-Sledge-Plugin-HTML2HDML/Makefile, a Sledge plug-in that invokes (diff) |
update to gubby-0.4.2
PR: 48700
Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Notes
Notes:
svn path=/head/; revision=76557
Diffstat (limited to 'mail/gubby')
-rw-r--r-- | mail/gubby/Makefile | 11 | ||||
-rw-r--r-- | mail/gubby/distinfo | 2 | ||||
-rw-r--r-- | mail/gubby/files/patch-aa | 18 | ||||
-rw-r--r-- | mail/gubby/files/patch-ab | 13 |
4 files changed, 10 insertions, 34 deletions
diff --git a/mail/gubby/Makefile b/mail/gubby/Makefile index 8d9fca5f2416..03d7833733f4 100644 --- a/mail/gubby/Makefile +++ b/mail/gubby/Makefile @@ -7,13 +7,17 @@ # PORTNAME= gubby -PORTVERSION= 0.3.2 +PORTVERSION= 0.4.2 CATEGORIES= mail -MASTER_SITES= http://sublevel3.org/~csl/gubby/dist/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= mich@freebsdcluster.org COMMENT= A program showing where new mail has been placed +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + LDFLAGS+= -lncurses -ltermcap CFLAGS+= -felide-constructors -fno-default-inline @@ -23,9 +27,12 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gubby ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${PREFIX}/man/man1 + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README .endif +MAN1= gubby.1 .include <bsd.port.mk> diff --git a/mail/gubby/distinfo b/mail/gubby/distinfo index d08c6c3b6cbe..1030805c6967 100644 --- a/mail/gubby/distinfo +++ b/mail/gubby/distinfo @@ -1 +1 @@ -MD5 (gubby-0.3.2.tar.gz) = 14e5261531f8bb9142e037ce10cd2d0a +MD5 (gubby-0.4.2-src.tar.gz) = 9195bd369c46be749de1cb039309ee60 diff --git a/mail/gubby/files/patch-aa b/mail/gubby/files/patch-aa deleted file mode 100644 index 30571fa82b7f..000000000000 --- a/mail/gubby/files/patch-aa +++ /dev/null @@ -1,18 +0,0 @@ ---- src/gubby.cpp.orig Tue Feb 4 16:16:09 2003 -+++ src/gubby.cpp Tue Feb 4 16:15:32 2003 -@@ -49,13 +49,13 @@ - char buf[1024]; - - if ( f != 0 ) -- while ( !feof(f) ) { -+ while ( !feof(f.fptr()) ) { - - buf[0] = 0; - char* s = &buf[0]; - const char* p = find; - -- fgets(s, sizeof buf / sizeof(char), f); -+ fgets(s, sizeof buf / sizeof(char), f.fptr()); - - // search for matched string - while ( *p++ == *s++ ); diff --git a/mail/gubby/files/patch-ab b/mail/gubby/files/patch-ab deleted file mode 100644 index c2258833e776..000000000000 --- a/mail/gubby/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- include/file_ptr.h.orig Mon Feb 3 09:38:16 2003 -+++ include/file_ptr.h Tue Feb 4 16:15:37 2003 -@@ -61,6 +61,10 @@ - return ptr; - } - -+ FILE* fptr() const { -+ return ptr; -+ } -+ - void operator=(FILE* f) { - close(); - ptr = f; |