Makefile 704 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.31 2016/08/27 10:50:20 jca Exp $
  2. COMMENT= GNU awk
  3. V= 4.1.3
  4. DISTNAME= gawk-$V
  5. REVISION= 1
  6. CATEGORIES= lang
  7. MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
  8. HOMEPAGE= https://www.gnu.org/software/gawk/
  9. # GPLv3+
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += c gmp iconv intl m mpfr readline sigsegv termcap
  12. LIB_DEPENDS= devel/gettext \
  13. devel/gmp \
  14. devel/libsigsegv \
  15. devel/mpfr
  16. SUBST_VARS= V
  17. MAKE_ENV += RM="rm -f"
  18. CONFIGURE_STYLE=gnu
  19. LIBTOOL_FLAGS= --tag=disable-static
  20. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  21. LDFLAGS="-L${LOCALBASE}/lib"
  22. post-install:
  23. ${INSTALL_MAN_DIR} ${PREFIX}/man/man3am
  24. mv ${PREFIX}/man/man3/*.3am ${PREFIX}/man/man3am
  25. .include <bsd.port.mk>