52 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.21 2019/07/14 02:16:51 naddy Exp $
COMMENT= C++ class library for MIME messages
1998-04-29 05:06:27 +00:00
DISTNAME= mimepp-1.0
REVISION= 1
1998-04-29 05:06:27 +00:00
CATEGORIES= converters
2000-03-14 04:21:59 +00:00
PERMIT_PACKAGE= restrictive non-commercial license
PERMIT_DISTFILES= Yes
1998-04-29 05:06:27 +00:00
2002-05-13 18:50:36 +00:00
MASTER_SITES= ${MASTER_SITE_SUNSITE:=devel/lang/c++/}
2000-02-22 17:08:31 +00:00
MAKE_FILE= makefile.unx
2017-02-27 15:50:17 +00:00
MAKE_FLAGS= CXX="${CXX}"
1998-04-29 05:06:27 +00:00
ALL_TARGET= lib
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 05:06:27 +00:00
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib
2000-03-28 13:44:30 +00:00
@ ${INSTALL_DATA_DIR} ${PREFIX}/include/mimepp
.for file in ${INCLUDE}
1998-04-29 05:06:27 +00:00
@ ${INSTALL_DATA} ${WRKSRC}/mimepp/${file} ${PREFIX}/include/mimepp
.endfor
2000-03-28 13:44:30 +00:00
@ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mimepp
.for file in ${DOC}
1998-04-29 05:06:27 +00:00
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp
.endfor
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mimepp
2000-03-28 13:44:30 +00:00
@ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mimepp
1998-04-29 05:06:27 +00:00
@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/mimepp
.for file in ${EXAMPLES}
1998-04-29 05:06:27 +00:00
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp
.endfor
2013-03-11 01:30:26 +00:00
NO_TEST= Yes
1998-04-29 05:06:27 +00:00
.include <bsd.port.mk>