Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $OpenBSD: Makefile,v 1.20 2017/05/04 15:46:56 espie Exp $
  2. COMMENT= C++ class library for MIME messages
  3. DISTNAME= mimepp-1.0
  4. REVISION= 1
  5. CATEGORIES= converters
  6. PERMIT_PACKAGE_CDROM= restrictive non-commercial license
  7. PERMIT_PACKAGE_FTP= restrictive non-commercial license
  8. PERMIT_DISTFILES_FTP= Yes
  9. MASTER_SITES= ${MASTER_SITE_SUNSITE:=devel/lang/c++/}
  10. MAKE_FILE= makefile.unx
  11. MAKE_FLAGS= CXX="${CXX}"
  12. ALL_TARGET= lib
  13. INCLUDE= address.h addrlist.h binhex.h body.h bodypart.h boyermor.h \
  14. config.h datetime.h debug.h disptype.h entity.h enum.h \
  15. field.h fieldbdy.h group.h headers.h mailbox.h mboxlist.h \
  16. mechansm.h mediatyp.h message.h mimepp.h msgcmp.h msgid.h \
  17. nntp.h param.h pop.h protocol.h smtp.h string.h text.h \
  18. token.h utility.h uuencode.h
  19. DOC= CPYRIGHT LICENSE README Tutorial
  20. EXAMPLES= attach.cpp attach.h basicmsg.cpp basicmsg.h exampl01.cpp \
  21. exampl01.txt exampl02.cpp exampl02.txt exampl03.cpp \
  22. exampl03.txt exampl04.cpp exampl04.txt exampl05.cpp \
  23. exampl05.txt multipar.cpp multipar.h
  24. do-install:
  25. @ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib
  26. @ ${INSTALL_DATA_DIR} ${PREFIX}/include/mimepp
  27. .for file in ${INCLUDE}
  28. @ ${INSTALL_DATA} ${WRKSRC}/mimepp/${file} ${PREFIX}/include/mimepp
  29. .endfor
  30. @ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mimepp
  31. .for file in ${DOC}
  32. @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp
  33. .endfor
  34. @ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mimepp
  35. @ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mimepp
  36. @ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/mimepp
  37. .for file in ${EXAMPLES}
  38. @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp
  39. .endfor
  40. NO_TEST= Yes
  41. .include <bsd.port.mk>