1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Update to 1.2

PR:		ports/121333
Submitted by:	Ismail YENIGUL <ismail enderunix.org> (maintainer)
This commit is contained in:
Thomas Abthorpe 2008-03-06 20:53:49 +00:00
parent b755211cd1
commit b13910e172
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208528
3 changed files with 18 additions and 21 deletions

View File

@ -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>

View File

@ -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

View File

@ -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)
{