Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.13 2017/04/10 11:45:22 sthen Exp $
  2. COMMENT = command line implementation of the PAR v2.0 specification
  3. V = 0.6.14
  4. DISTNAME = par2cmdline-$V
  5. DISTFILES = ${DISTNAME}{v$V}.tar.gz
  6. REVISION = 0
  7. CATEGORIES = archivers
  8. HOMEPAGE = https://github.com/BlackIkeEagle/par2cmdline/
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. # uses pledge()
  12. WANTLIB = c m ${LIBCXX}
  13. MAINTAINER = Mikolaj Kucharski <mikolaj@kucharski.name>
  14. MASTER_SITES = ${HOMEPAGE}archive/
  15. BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
  16. ${MODGNU_AUTOMAKE_DEPENDS}
  17. CONFIGURE_STYLE = gnu
  18. AUTOCONF_VERSION = 2.69
  19. AUTOMAKE_VERSION = 1.15
  20. MAKE_ENV = AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  21. AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
  22. post-patch:
  23. cd ${WRKSRC}; \
  24. export AUTOCONF_VERSION=${AUTOCONF_VERSION}; \
  25. export AUTOMAKE_VERSION=${AUTOMAKE_VERSION}; \
  26. aclocal; automake --add-missing; autoconf
  27. post-install:
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par2cmdline
  29. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par2cmdline
  30. pre-test:
  31. sed -i -e 's,^tar -xf,tar -xzf,' ${WRKSRC}/tests/test*
  32. .include <bsd.port.mk>