mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
2eae8d04cf
PR: 256591 Submitted by: Daniel Engberg
36 lines
736 B
Makefile
36 lines
736 B
Makefile
# Created by: ache
|
|
|
|
PORTNAME= patch
|
|
PORTVERSION= 2.7.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU DEBIAN_POOL:dp
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${PORTNAME}_${PORTVERSION}-7.debian${EXTRACT_SUFX}:dp
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= GNU patch utility
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
EXTRA_PATCHES= ${WRKDIR}/debian/patches/[^0]*.patch \
|
|
${WRKDIR}/debian/patches/0*.patch
|
|
PATCH_STRIP= -p1
|
|
|
|
TEST_DEPENDS= bash:shells/bash
|
|
|
|
USES= cpe charsetfix gmake tar:xz
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-prefix=g
|
|
CPE_VENDOR= gnu
|
|
|
|
TEST_TARGET= check
|
|
|
|
PLIST_FILES= bin/gpatch man/man1/gpatch.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^LOG_COMPILER =/,+1s|$$(SHELL)|bash|' \
|
|
${WRKSRC}/tests/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|