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