Makefile 778 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.9 2015/12/03 21:24:29 sthen Exp $
  2. COMMENT = Version Control with Subversion
  3. V = 1.7
  4. REVISION = 0
  5. DISTNAME = svn-book-html-chunk-$V
  6. PKGNAME = svnbook-${V}
  7. CATEGORIES = books devel
  8. HOMEPAGE = http://svnbook.red-bean.com/
  9. # Creative Commons Attribution License
  10. PERMIT_PACKAGE_CDROM = Yes
  11. # ${HOMEPAGE}/en/$V/svn-book-html-chunk.tar.bz2 appears to be auto-generated
  12. MASTER_SITES = https://spacehopper.org/mirrors/
  13. EXTRACT_SUFX = .tar.bz2
  14. EXTRACT_ONLY =
  15. BUILD_DEPENDS = archivers/bzip2
  16. NO_BUILD = Yes
  17. NO_TEST = Yes
  18. PKG_ARCH = *
  19. DOCDIR = ${PREFIX}/share/doc
  20. do-install:
  21. ${INSTALL_DATA_DIR} ${DOCDIR}
  22. cd ${DOCDIR} && \
  23. tar -s/svn-book-html-chunk/svnbook/g -zjxf \
  24. ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
  25. .include <bsd.port.mk>