mimepp port.
This commit is contained in:
parent
dc35f34acf
commit
2577b711a0
36
converters/mimepp/Makefile
Normal file
36
converters/mimepp/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# OpenBSD makefile for: mimepp
|
||||
# Version required: 1.0
|
||||
# Date created: 29 April 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/04/29 05:06:27 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mimepp-1.0
|
||||
CATEGORIES= converters
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= devel/lang/c++
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
MAKEFILE= makefile.unx
|
||||
ALL_TARGET= lib
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib
|
||||
@ ${MKDIR} ${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 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
|
||||
@ ${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>
|
54
converters/mimepp/files/Makefile
Normal file
54
converters/mimepp/files/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# UNIX makefile for MIME++ example programs
|
||||
|
||||
# $Revision: 1.1.1.1 $
|
||||
# $Date: 1998/04/29 05:06:27 $
|
||||
|
||||
# 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 = -O
|
||||
|
||||
# The search path for include files. Change only if necessary.
|
||||
INC_PATH = -I/usr/local/include
|
||||
|
||||
# The search path for library files. Change only if necessary.
|
||||
LIB_PATH = -L/usr/local/lib
|
||||
|
||||
# Libraries to be included. Change only if necessary.
|
||||
LIBS =
|
||||
|
||||
# The library directory where MIME++ (libmimepp.a) will be installed.
|
||||
LIB_DIR = /usr/local/lib
|
||||
|
||||
# The include directory where MIME++ include files should be installed.
|
||||
# The include files will actually be copied to $(INC_DIR)/mimepp/.
|
||||
INC_DIR = /usr/local/include
|
||||
|
||||
all: exampl01 exampl02 exampl03 exampl04 exampl05
|
||||
|
||||
exampl01 : libmimepp.a exampl01.o basicmsg.o
|
||||
$(CXX) -o exampl01 exampl01.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
|
||||
|
||||
exampl02 : libmimepp.a exampl02.o basicmsg.o
|
||||
$(CXX) -o exampl02 exampl02.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
|
||||
|
||||
exampl03 : libmimepp.a exampl03.o multipar.o basicmsg.o
|
||||
$(CXX) -o exampl03 exampl03.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
|
||||
|
||||
exampl04 : libmimepp.a exampl04.o multipar.o basicmsg.o
|
||||
$(CXX) -o exampl04 exampl04.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
|
||||
|
||||
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: .cpp
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $< $(INC_PATH)
|
1
converters/mimepp/files/md5
Normal file
1
converters/mimepp/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mimepp-1.0.tar.gz) = c028be12cd77339e3277c30bef58fb4a
|
19
converters/mimepp/patches/patch-aa
Normal file
19
converters/mimepp/patches/patch-aa
Normal file
@ -0,0 +1,19 @@
|
||||
*** 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.
|
1
converters/mimepp/pkg/COMMENT
Normal file
1
converters/mimepp/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
C++ class library for MIME messages
|
8
converters/mimepp/pkg/DESCR
Normal file
8
converters/mimepp/pkg/DESCR
Normal file
@ -0,0 +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-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-2045.
|
||||
MIME++ is extensible through inheritance and polymorphism.
|
89
converters/mimepp/pkg/PLIST
Normal file
89
converters/mimepp/pkg/PLIST
Normal file
@ -0,0 +1,89 @@
|
||||
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/entity.h
|
||||
include/mimepp/enum.h
|
||||
include/mimepp/field.h
|
||||
include/mimepp/fieldbdy.h
|
||||
include/mimepp/group.h
|
||||
include/mimepp/headers.h
|
||||
include/mimepp/mailbox.h
|
||||
include/mimepp/mboxlist.h
|
||||
include/mimepp/mechansm.h
|
||||
include/mimepp/mediatyp.h
|
||||
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/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/headers.html
|
||||
share/doc/mimepp/mailbox.html
|
||||
share/doc/mimepp/mboxlist.html
|
||||
share/doc/mimepp/mechansm.html
|
||||
share/doc/mimepp/mediatyp.html
|
||||
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.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
|
||||
@dirrm include/mimepp
|
||||
@dirrm share/doc/mimepp
|
||||
@dirrm share/examples/mimepp
|
Loading…
Reference in New Issue
Block a user