Edit

IABSD.fr/ports/sysutils/ggrep/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2005-05-11 19:08:23
    Hash : 0ea9ffbb
    Message : and tell ggrep to not heed i18n yet.

  • sysutils/ggrep/Makefile
  • # $OpenBSD: Makefile,v 1.6 2005/05/11 19:08:23 espie Exp $
    
    COMMENT=	GNU versions of grep pattern matching utilities
    
    DISTNAME=	grep-2.5.1
    PKGNAME=	g${DISTNAME}p1
    CATEGORIES=	sysutils
    HOMEPAGE=	http://www.gnu.org/software/grep/grep.html
    
    MAINTAINER=	Christian Weisgerber <naddy@openbsd.org>
    
    # GPL
    PERMIT_PACKAGE_CDROM=	Yes
    PERMIT_PACKAGE_FTP=	Yes
    PERMIT_DISTFILES_CDROM=	Yes
    PERMIT_DISTFILES_FTP=	Yes
    WANTLIB=		c
    
    MASTER_SITES=	${MASTER_SITE_GNU:=grep/}
    
    MODULES=	devel/gettext
    LIB_DEPENDS=	pcre.0::devel/pcre
    
    SEPARATE_BUILD=	simple
    CONFIGURE_STYLE=gnu
    CONFIGURE_ARGS=	--program-prefix=g
    CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
    		LDFLAGS="-L${LOCALBASE}/lib"
    
    CONFIGURE_ENV+= ac_cv_func_mbrtowc=no
    
    post-build:
    	@perl -i -pe 's/\bgrep\b/ggrep/g' ${WRKBUILD}/src/[ef]grep
    
    .include <bsd.port.mk>