diff options
Diffstat (limited to 'converters/mimepp')
-rw-r--r-- | converters/mimepp/Makefile | 24 | ||||
-rw-r--r-- | converters/mimepp/distinfo | 2 | ||||
-rw-r--r-- | converters/mimepp/files/Makefile | 35 | ||||
-rw-r--r-- | converters/mimepp/files/patch-aa | 30 | ||||
-rw-r--r-- | converters/mimepp/pkg-descr | 4 | ||||
-rw-r--r-- | converters/mimepp/pkg-plist | 57 |
6 files changed, 92 insertions, 60 deletions
diff --git a/converters/mimepp/Makefile b/converters/mimepp/Makefile index 19a724a8e34d..21cff7406c4f 100644 --- a/converters/mimepp/Makefile +++ b/converters/mimepp/Makefile @@ -1,34 +1,36 @@ # New ports collection makefile for: mimepp -# Version required: 0.8.0 +# Version required: 1.0 # Date created: 3 July 1997 # Whom: Andrey Zakhvatov # -# $Id: Makefile,v 1.2 1997/07/08 10:52:39 asami Exp $ +# $Id$ # -DISTNAME= mimepp-0.8.0 +DISTNAME= mimepp-1.0 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= devel/lang/c++ MAINTAINER= andy@icc.surw.chel.su -WRKSRC= ${WRKDIR}/mimepp-970213 +MAKEFILE= makefile.unx ALL_TARGET= lib do-install: - @ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib/libmimepp.a + @ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib @ ${MKDIR} ${PREFIX}/include/mimepp - @ ${INSTALL_DATA} ${WRKSRC}/mimepp/* ${PREFIX}/include/mimepp +.for file in address.h addrlist.h binhex.h body.h bodypart.h boyermor.h config.h datetime.h debug.h disptype.h entity.h enum.h field.h fieldbdy.h group.h headers.h mailbox.h mboxlist.h mechansm.h mediatyp.h message.h mimepp.h msgcmp.h msgid.h nntp.h param.h pop.h protocol.h smtp.h string.h text.h token.h utility.h uuencode.h + @ ${INSTALL_DATA} ${WRKSRC}/mimepp/${file} ${PREFIX}/include/mimepp +.endfor @ ${MKDIR} ${PREFIX}/share/doc/mimepp -.for file in CPYRIGHT README Tutorial - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp/${file} +.for file in CPYRIGHT LICENSE README Tutorial + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp .endfor @ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mimepp @ ${MKDIR} ${PREFIX}/share/examples/mimepp -.for file in exampl01.cc exampl02.cc exampl03.cc exampl04.cc exampl05.cc attach.cc basicmsg.cc multipar.cc attach.h basicmsg.h multipar.h test01.txt test02.txt test03.txt test04.txt test05.txt - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp/${file} -.endfor @ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/mimepp +.for file in attach.cpp attach.h basicmsg.cpp basicmsg.h exampl01.cpp exampl01.txt exampl02.cpp exampl02.txt exampl03.cpp exampl03.txt exampl04.cpp exampl04.txt exampl05.cpp exampl05.txt multipar.cpp multipar.h + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp +.endfor .include <bsd.port.mk> diff --git a/converters/mimepp/distinfo b/converters/mimepp/distinfo index a921508dc664..ae89690aeceb 100644 --- a/converters/mimepp/distinfo +++ b/converters/mimepp/distinfo @@ -1 +1 @@ -MD5 (mimepp-0.8.0.tar.gz) = 2268f857f9f27d31e466986d9ab1fba4 +MD5 (mimepp-1.0.tar.gz) = c028be12cd77339e3277c30bef58fb4a diff --git a/converters/mimepp/files/Makefile b/converters/mimepp/files/Makefile index da85e23ee52c..a1ca75df3237 100644 --- a/converters/mimepp/files/Makefile +++ b/converters/mimepp/files/Makefile @@ -1,11 +1,16 @@ -# makefile for MIME++ example programs +# UNIX makefile for MIME++ example programs + +# $Revision: 3.0 $ +# $Date: 1997-07-28 06:59:15-05 $ # C++ compiler driver +# CXX = CC CXX = g++ # C++ compiler flags (except -c, -I, -L, -l) +# # Add -g here if you want debugger symbols included -CXXFLAGS = -DDW_EOL_LF +CXXFLAGS = -O # The search path for include files. Change only if necessary. INC_PATH = -I/usr/local/include @@ -23,29 +28,27 @@ LIB_DIR = /usr/local/lib # The include files will actually be copied to $(INC_DIR)/mimepp/. INC_DIR = /usr/local/include -LIB_OBJ = $(LIB_CC:.cc=.o) - all: exampl01 exampl02 exampl03 exampl04 exampl05 -exampl01 : exampl01.o basicmsg.o libmimepp.a - $(CXX) -o exampl01 exampl01.o basicmsg.o $(LIB_PATH) -lmimepp +exampl01 : libmimepp.a exampl01.o basicmsg.o + $(CXX) -o exampl01 exampl01.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS) -exampl02 : exampl02.o basicmsg.o libmimepp.a - $(CXX) -o exampl02 exampl02.o basicmsg.o $(LIB_PATH) -lmimepp +exampl02 : libmimepp.a exampl02.o basicmsg.o + $(CXX) -o exampl02 exampl02.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS) -exampl03 : exampl03.o multipar.o basicmsg.o libmimepp.a - $(CXX) -o exampl03 exampl03.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp +exampl03 : libmimepp.a exampl03.o multipar.o basicmsg.o + $(CXX) -o exampl03 exampl03.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS) -exampl04 : exampl04.o multipar.o basicmsg.o libmimepp.a - $(CXX) -o exampl04 exampl04.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp +exampl04 : libmimepp.a exampl04.o multipar.o basicmsg.o + $(CXX) -o exampl04 exampl04.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS) -exampl05 : exampl05.o attach.o multipar.o basicmsg.o libmimepp.a - $(CXX) -o exampl05 exampl05.o attach.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp +exampl05 : libmimepp.a exampl05.o attach.o multipar.o basicmsg.o + $(CXX) -o exampl05 exampl05.o attach.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS) clean: -rm *.o exampl0? *.out -.SUFFIXES: .cc +.SUFFIXES: .cpp -.cc.o: +.cpp.o: $(CXX) -c $(CXXFLAGS) $< $(INC_PATH) diff --git a/converters/mimepp/files/patch-aa b/converters/mimepp/files/patch-aa index 5abd8e4171af..deec594ada2b 100644 --- a/converters/mimepp/files/patch-aa +++ b/converters/mimepp/files/patch-aa @@ -1,11 +1,19 @@ ---- Makefile.orig Fri Feb 14 05:10:37 1997 -+++ Makefile Wed Jul 9 13:33:09 1997 -@@ -21,7 +21,7 @@ - - # C++ compiler flags (except -c, -I, -L, -l) - # Add -g here if you want debugger symbols included --CXXFLAGS = -DDW_EOL_LF -+CXXFLAGS = -DDW_EOL_LF ${CFLAGS} - - # The search path for include files. Change only if necessary. - INC_PATH = -I. +*** makefile.unx Tue Sep 2 19:28:33 1997 +--- /home/andy/tmp/wrk/makefile.unx Tue Sep 23 07:48:55 1997 +*************** +*** 26,32 **** + # C++ compiler flags (except -c, -I, -L, -l) + # + # Add -g here if you want debugger symbols included +! CXXFLAGS = + + # The search path for include files. Change only if necessary. + INC_PATH = -I. +--- 26,32 ---- + # C++ compiler flags (except -c, -I, -L, -l) + # + # Add -g here if you want debugger symbols included +! CXXFLAGS = ${CFLAGS} + + # The search path for include files. Change only if necessary. + INC_PATH = -I. diff --git a/converters/mimepp/pkg-descr b/converters/mimepp/pkg-descr index c43e98b3736b..00e2b3aff637 100644 --- a/converters/mimepp/pkg-descr +++ b/converters/mimepp/pkg-descr @@ -1,8 +1,8 @@ MIME++ is a C++ class library for creating, parsing, and editing messages in MIME format. The class structure in MIME++ closely follows the BNF grammar specified in RFC-822 -and RFC-1521, making the library intuitive for developers +and RFC-2045, making the library intuitive for developers who are familiar with the MIME standard. MIME++ supports quoted-printable and base64 encoding/decoding, and all -header fields specified in RFC-822, RFC-1036, and RFC-1521. +header fields specified in RFC-822, RFC-1036, and RFC-2045. MIME++ is extensible through inheritance and polymorphism. diff --git a/converters/mimepp/pkg-plist b/converters/mimepp/pkg-plist index f97c7d1f724e..2b0234db01b2 100644 --- a/converters/mimepp/pkg-plist +++ b/converters/mimepp/pkg-plist @@ -1,17 +1,19 @@ include/mimepp/address.h include/mimepp/addrlist.h +include/mimepp/binhex.h include/mimepp/body.h include/mimepp/bodypart.h +include/mimepp/boyermor.h +include/mimepp/config.h include/mimepp/datetime.h +include/mimepp/debug.h include/mimepp/disptype.h -include/mimepp/dw_debug.h -include/mimepp/dw_mime.h -include/mimepp/dwstring.h include/mimepp/entity.h +include/mimepp/enum.h include/mimepp/field.h include/mimepp/fieldbdy.h include/mimepp/group.h -include/mimepp/header.h +include/mimepp/headers.h include/mimepp/mailbox.h include/mimepp/mboxlist.h include/mimepp/mechansm.h @@ -20,24 +22,34 @@ include/mimepp/message.h include/mimepp/mimepp.h include/mimepp/msgcmp.h include/mimepp/msgid.h +include/mimepp/nntp.h include/mimepp/param.h +include/mimepp/pop.h +include/mimepp/protocol.h +include/mimepp/smtp.h +include/mimepp/string.h include/mimepp/text.h include/mimepp/token.h +include/mimepp/utility.h +include/mimepp/uuencode.h lib/libmimepp.a share/doc/mimepp/CPYRIGHT +share/doc/mimepp/LICENSE share/doc/mimepp/README share/doc/mimepp/Tutorial share/doc/mimepp/address.html share/doc/mimepp/addrlist.html +share/doc/mimepp/binhex.html share/doc/mimepp/body.html share/doc/mimepp/bodypart.html +share/doc/mimepp/boyermor.html share/doc/mimepp/datetime.html -share/doc/mimepp/dwstring.html +share/doc/mimepp/disptype.html share/doc/mimepp/entity.html share/doc/mimepp/field.html share/doc/mimepp/fieldbdy.html share/doc/mimepp/group.html -share/doc/mimepp/header.html +share/doc/mimepp/headers.html share/doc/mimepp/mailbox.html share/doc/mimepp/mboxlist.html share/doc/mimepp/mechansm.html @@ -46,25 +58,32 @@ share/doc/mimepp/message.html share/doc/mimepp/mimepp.html share/doc/mimepp/msgcmp.html share/doc/mimepp/msgid.html +share/doc/mimepp/nntp.html share/doc/mimepp/param.html +share/doc/mimepp/pop.html +share/doc/mimepp/protocol.html +share/doc/mimepp/smtp.html +share/doc/mimepp/string.html share/doc/mimepp/text.html +share/doc/mimepp/util.html +share/doc/mimepp/uuencode.html share/examples/mimepp/Makefile -share/examples/mimepp/attach.cc -share/examples/mimepp/basicmsg.cc -share/examples/mimepp/exampl01.cc -share/examples/mimepp/exampl02.cc -share/examples/mimepp/exampl03.cc -share/examples/mimepp/exampl04.cc -share/examples/mimepp/exampl05.cc -share/examples/mimepp/multipar.cc +share/examples/mimepp/attach.cpp share/examples/mimepp/attach.h +share/examples/mimepp/basicmsg.cpp share/examples/mimepp/basicmsg.h +share/examples/mimepp/exampl01.cpp +share/examples/mimepp/exampl01.txt +share/examples/mimepp/exampl02.cpp +share/examples/mimepp/exampl02.txt +share/examples/mimepp/exampl03.cpp +share/examples/mimepp/exampl03.txt +share/examples/mimepp/exampl04.cpp +share/examples/mimepp/exampl04.txt +share/examples/mimepp/exampl05.cpp +share/examples/mimepp/exampl05.txt +share/examples/mimepp/multipar.cpp share/examples/mimepp/multipar.h -share/examples/mimepp/test01.txt -share/examples/mimepp/test02.txt -share/examples/mimepp/test03.txt -share/examples/mimepp/test04.txt -share/examples/mimepp/test05.txt @dirrm include/mimepp @dirrm share/doc/mimepp @dirrm share/examples/mimepp |