Makefile 662 B

1234567891011121314151617181920212223242526272829
  1. # $OpenBSD: Makefile,v 1.30 2017/02/14 16:19:49 naddy Exp $
  2. COMMENT= GNU versions of grep pattern matching utilities
  3. DISTNAME= grep-3.0
  4. PKGNAME= g${DISTNAME}
  5. CATEGORIES= sysutils
  6. HOMEPAGE= https://www.gnu.org/software/grep/grep.html
  7. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  8. # GPLv3+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
  11. EXTRACT_SUFX= .tar.xz
  12. LIB_DEPENDS= devel/gettext devel/pcre
  13. WANTLIB= c iconv intl pcre
  14. CONFIGURE_STYLE=gnu
  15. CONFIGURE_ARGS= --program-prefix=g
  16. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  17. LDFLAGS="-L${LOCALBASE}/lib"
  18. MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
  19. .include <bsd.port.mk>