Makefile 870 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.1.1.1 2016/08/05 05:44:50 bentley Exp $
  2. COMMENT = terminal-based nonogram solver
  3. V = 1.9.13
  4. DISTNAME = nonogram-$V
  5. CATEGORIES = math
  6. HOMEPAGE = https://www.lancs.ac.uk/~simpsons/software/pkg-nonowimp
  7. MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
  8. # LGPLv2.1+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c
  11. MASTER_SITES = https://www.lancs.ac.uk/~simpsons/archives/
  12. EXTRACT_SUFX = .zip
  13. LIB_DEPENDS = math/nonolib
  14. MAKE_FLAGS = PREFIX="${DESTDIR}${PREFIX}" \
  15. CC="${CC}" \
  16. CFLAGS="-I${LOCALBASE}/include \
  17. -DVERSION=\\\"$V\\\" ${CFLAGS}" \
  18. nonogram_lib="-L${LOCALBASE}/lib -lnonogram"
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nonogram
  21. ${INSTALL_DATA} ${WRKSRC}/README.nonogram ${PREFIX}/share/doc/nonogram
  22. ${INSTALL_DATA} ${WRKSRC}/utnomore.non ${PREFIX}/share/doc/nonogram
  23. .include <bsd.port.mk>