Makefile 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.11 2017/04/10 11:45:24 sthen Exp $
  2. PORTROACH= limit:.*[^a]$$
  3. COMMENT= advanced HTML-to-text converter
  4. DISTNAME= html2text-1.3.2a
  5. REVISION= 1
  6. CATEGORIES= converters textproc
  7. HOMEPAGE= http://www.mbayer.de/html2text/
  8. # GPL
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += c m ${LIBCXX}
  11. MASTER_SITES= http://www.mbayer.de/html2text/downloads/ \
  12. ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/
  13. CONFIGURE_STYLE= simple
  14. CONFIGURE_ENV= CXX="${CXX}"
  15. MAKE_FLAGS= PREFIX="${PREFIX}" \
  16. CXXFLAGS="-DVERSION=1.3.2a -DAUTO_PTR_BROKEN ${CXXFLAGS}"
  17. NO_TEST= Yes
  18. post-extract:
  19. gunzip ${WRKSRC}/{html2text.1,html2textrc.5}.gz
  20. do-install:
  21. ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin/
  22. ${INSTALL_MAN} ${WRKSRC}/html2text.1 ${PREFIX}/man/man1
  23. ${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${PREFIX}/man/man5
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html2text
  25. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/html2text
  26. .include <bsd.port.mk>