aboutsummaryrefslogtreecommitdiff
path: root/mail/librfc822
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2008-03-06 20:53:49 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2008-03-06 20:53:49 +0000
commitb13910e17227482b73a6f8f3a81106e28e55e67b (patch)
tree61f2be233e25e7cc0cd1842b7a5687bc42e6a68e /mail/librfc822
parentb755211cd1ae7a942eea8f3542b1e7a6e965005e (diff)
downloadports-b13910e17227482b73a6f8f3a81106e28e55e67b.tar.gz
ports-b13910e17227482b73a6f8f3a81106e28e55e67b.zip
Notes
Diffstat (limited to 'mail/librfc822')
-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)
+ {