Makefile 1009 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.17 2017/06/08 15:25:57 espie Exp $
  2. ONLY_FOR_ARCHS= amd64 i386
  3. COMMENT= Prolog compiler
  4. DISTNAME= gprolog-1.4.4
  5. CATEGORIES= lang
  6. HOMEPAGE= http://www.gprolog.org/
  7. MAINTAINER= Nuno Morgadinho <nuno.morgadinho@gmail.com>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c m
  11. MASTER_SITES= ${MASTER_SITE_GNU:=gprolog/}
  12. AUTOCONF_VERSION= 2.68
  13. CONFIGURE_STYLE= autoconf dest no-autoheader
  14. CONFIGURE_ARGS+= --with-install-dir='${PREFIX}/libdata/gprolog' \
  15. --without-links-dir \
  16. --disable-ebp \
  17. --disable-piped-consult \
  18. --disable-gui-console \
  19. --with-examples-dir='${PREFIX}/share/examples/gprolog' \
  20. --with-html-dir='${PREFIX}/share/doc/gprolog/html' \
  21. --with-doc-dir='${PREFIX}/share/doc/gprolog' \
  22. --with-c-flags="${CFLAGS}"
  23. WRKDIST= ${WRKDIR}/${DISTNAME}/src
  24. TEST_DEPENDS= textproc/gdiff
  25. post-install:
  26. for i in gplc hexgplc gprolog pl2wam wam2ma ma2asm fd2c; do \
  27. ln -sf ${TRUEPREFIX}/libdata/gprolog/bin/$$i ${PREFIX}/bin/$$i; \
  28. done
  29. .include <bsd.port.mk>