28 lines
510 B
Makefile

# $OpenBSD: Makefile,v 1.8 2018/02/08 12:55:39 sthen Exp $
COMMENT= GNU patch
VERSION= 2.7.6
DISTNAME= patch-${VERSION}
PKGNAME= gpatch-${VERSION}
CATEGORIES= devel
HOMEPAGE= https://www.gnu.org/software/patch/
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_GNU:=patch/}
EXTRACT_SUFX= .tar.xz
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix=g
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
post-install:
@rm ${PREFIX}/lib/charset.alias
.include <bsd.port.mk>