2007-09-15 21:40:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2007/09/16 01:40:27 merdely Exp $
|
2001-05-05 19:11:14 -04:00
|
|
|
|
2007-09-15 21:40:27 -04:00
|
|
|
COMMENT= C++ class library for MIME messages
|
1998-04-29 01:06:27 -04:00
|
|
|
|
|
|
|
DISTNAME= mimepp-1.0
|
|
|
|
CATEGORIES= converters
|
2000-03-13 23:21:59 -05:00
|
|
|
|
2007-09-15 21:40:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= restrictive non-commercial license
|
|
|
|
PERMIT_PACKAGE_FTP= restrictive non-commercial license
|
|
|
|
PERMIT_DISTFILES_CDROM= restrictive non-commercial license
|
2000-03-13 23:21:59 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
1998-04-29 01:06:27 -04:00
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=devel/lang/c++/}
|
1998-10-07 23:35:18 -04:00
|
|
|
|
2000-02-22 12:08:31 -05:00
|
|
|
MAKE_FILE= makefile.unx
|
1998-04-29 01:06:27 -04:00
|
|
|
ALL_TARGET= lib
|
|
|
|
|
1998-10-07 23:35:18 -04:00
|
|
|
INCLUDE= 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
|
|
|
|
|
|
|
|
DOC= CPYRIGHT LICENSE README Tutorial
|
|
|
|
|
|
|
|
EXAMPLES= 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
|
|
|
|
|
1998-04-29 01:06:27 -04:00
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib
|
2000-03-28 08:44:30 -05:00
|
|
|
@ ${INSTALL_DATA_DIR} ${PREFIX}/include/mimepp
|
1998-10-07 23:35:18 -04:00
|
|
|
.for file in ${INCLUDE}
|
1998-04-29 01:06:27 -04:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/mimepp/${file} ${PREFIX}/include/mimepp
|
|
|
|
.endfor
|
2000-03-28 08:44:30 -05:00
|
|
|
@ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mimepp
|
1998-10-07 23:35:18 -04:00
|
|
|
.for file in ${DOC}
|
1998-04-29 01:06:27 -04:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp
|
|
|
|
.endfor
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mimepp
|
2000-03-28 08:44:30 -05:00
|
|
|
@ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mimepp
|
1998-04-29 01:06:27 -04:00
|
|
|
@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/mimepp
|
1998-10-07 23:35:18 -04:00
|
|
|
.for file in ${EXAMPLES}
|
1998-04-29 01:06:27 -04:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp
|
|
|
|
.endfor
|
|
|
|
|
2001-10-07 11:34:10 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-04-29 01:06:27 -04:00
|
|
|
.include <bsd.port.mk>
|