mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
345fc748de
This is a temporary measure to facilitate entering the new world order where manual pages are installed under ${PREFIX}/share/man.
36 lines
810 B
Makefile
36 lines
810 B
Makefile
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
|
|
WWW= https://savannah.gnu.org/projects/patch/
|
|
|
|
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
|
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
CONFIGURE_ARGS= --program-prefix=g
|
|
CPE_VENDOR= gnu
|
|
|
|
TEST_TARGET= check
|
|
|
|
PLIST_FILES= bin/gpatch share/man/man1/gpatch.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^LOG_COMPILER =/,+1s|$$(SHELL)|bash|' \
|
|
${WRKSRC}/tests/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|