aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2008-03-07 04:53:49 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2008-03-07 04:53:49 +0800
commit6ee5cae97102731981c4f343d3d47052aeb032f2 (patch)
treef3e5e6c296bc076ea8b22d52bd4f223e26fca085 /mail
parentbec2770a50925a0885bc3bfc82d8eebaf24a66e7 (diff)
downloadfreebsd-ports-gnome-6ee5cae97102731981c4f343d3d47052aeb032f2.tar.gz
freebsd-ports-gnome-6ee5cae97102731981c4f343d3d47052aeb032f2.tar.zst
freebsd-ports-gnome-6ee5cae97102731981c4f343d3d47052aeb032f2.zip
- Update to 1.2
PR: ports/121333 Submitted by: Ismail YENIGUL <ismail enderunix.org> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/librfc822/Makefile19
-rw-r--r--mail/librfc822/distinfo6
-rw-r--r--mail/librfc822/files/patch-lexer.cc14
3 files changed, 18 insertions, 21 deletions
diff --git a/mail/librfc822/Makefile b/mail/librfc822/Makefile
index 2ddc075a8d46..ee744b676801 100644
--- a/mail/librfc822/Makefile
+++ b/mail/librfc822/Makefile
@@ -7,28 +7,25 @@
#
PORTNAME= librfc822
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.2
CATEGORIES= mail devel
-MASTER_SITES= http://cryp.to/librfc822/
+MASTER_SITES= http://cryp.to/librfc2822/
MAINTAINER= ismail@EnderUNIX.org
COMMENT= A complete parser for RFC822 addresses
-USE_GCC= 2.95
+GNU_CONFIGURE= YES
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-PORTDOCS= readme.html readme.txt user-manual.html user-manual.pdf
-PLIST_FILES= include/rfc822.hh lib/librfc822.a
-
-post-patch:
- @${REINPLACE_CMD} -E -e 's/^(CXX.*)=(.*)/\1\?=\2/' ${WRKSRC}/Makefile
+PORTDOCS= user-manual.html
+PLIST_FILES= include/rfc822.hpp lib/librfc822.a
do-install:
- ${INSTALL_DATA} ${WRKSRC}/rfc822.hh ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/rfc822.hpp ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/librfc822.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/librfc822/distinfo b/mail/librfc822/distinfo
index a391acc7f561..853de60c5d39 100644
--- a/mail/librfc822/distinfo
+++ b/mail/librfc822/distinfo
@@ -1,3 +1,3 @@
-MD5 (librfc822-1.0.tar.gz) = 4dca8e2b6fe3ffaabc5f3b9c493e57c6
-SHA256 (librfc822-1.0.tar.gz) = 4e7d372c66fd5ab7c7bb2b7cdf10452c953204fb00c65aa1fc50e4bf97ffd17e
-SIZE (librfc822-1.0.tar.gz) = 95913
+MD5 (librfc822-1.2.tar.gz) = 74529c72dc7cdefa3be5d2d66e596d8c
+SHA256 (librfc822-1.2.tar.gz) = f9a2d5fbf7526b4c970fc38b96ee7fcf444f8417e9bb60f2255aec7ef8dbb472
+SIZE (librfc822-1.2.tar.gz) = 73838
diff --git a/mail/librfc822/files/patch-lexer.cc b/mail/librfc822/files/patch-lexer.cc
index e2f50d64f8c9..8ffd10cc8008 100644
--- a/mail/librfc822/files/patch-lexer.cc
+++ b/mail/librfc822/files/patch-lexer.cc
@@ -1,11 +1,11 @@
---- lexer.cc.orig Mon Apr 14 02:34:51 2003
-+++ lexer.cc Mon Apr 14 02:34:55 2003
-@@ -6,7 +6,7 @@
- #include "rfc822.hh"
+--- lexer.cpp.orig 2008-03-03 23:44:57.000000000 +0200
++++ lexer.cpp 2008-03-03 23:44:35.000000000 +0200
+@@ -13,7 +13,7 @@
+ #include "rfc822.hpp"
using namespace std;
-ostream & operator<< (ostream & os, const token & t)
+std::ostream & operator<< (std::ostream& os, const token & t)
- {
- switch(t.type)
- {
+ {
+ switch(t.type)
+ {