Makefile 768 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.9 2015/07/24 18:50:34 jasper Exp $
  2. COMMENT= xml to manpage converter
  3. DISTNAME= xmltoman-0.4
  4. CATEGORIES= converters textproc
  5. HOMEPAGE= http://sourceforge.net/projects/xmltoman/
  6. MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmltoman/}
  10. NO_TEST= Yes
  11. BUILD_DEPENDS= ${RUN_DEPENDS}
  12. RUN_DEPENDS= textproc/p5-XML-Parser
  13. post-extract:
  14. sed -i 's,/usr/share,${PREFIX}/share,g;s,doc/xmltoman/examples,examples/xmltoman,g' \
  15. ${WRKSRC}/xml/xml*
  16. post-install:
  17. ${INSTALL_MAN} ${WRKSRC}/*.1 ${PREFIX}/man/man1
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmltoman
  19. ${INSTALL_DATA} ${WRKSRC}/xml/*.xml ${PREFIX}/share/examples/xmltoman
  20. .include <bsd.port.mk>