add GNU patch
ok ajacoutot@ sthen@
This commit is contained in:
parent
19a7a697da
commit
94759e9f78
38
devel/gpatch/Makefile
Normal file
38
devel/gpatch/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/23 12:23:35 rpe Exp $
|
||||
|
||||
COMMENT= GNU patch
|
||||
|
||||
VERSION= 2.7
|
||||
DISTNAME= patch-${VERSION}
|
||||
PKGNAME= gpatch-${VERSION}
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.gnu.org/software/patch/
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=patch/}
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_GROFF= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --program-prefix=g
|
||||
|
||||
REGRESS_DEPENDS= shells/bash \
|
||||
textproc/gdiff
|
||||
REGRESS_FLAGS= SHELL=${LOCALBASE}/bin/bash
|
||||
|
||||
pre-regress:
|
||||
@ln -fs ${LOCALBASE}/bin/gdiff ${WRKDIR}/bin/diff
|
||||
|
||||
post-install:
|
||||
@rm ${PREFIX}/lib/charset.alias
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/gpatch/distinfo
Normal file
2
devel/gpatch/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (patch-2.7.tar.gz) = WcKfVvqgqSSCfmpgxqzNbikA6uXGqqkiJoxxfwamIEg=
|
||||
SIZE (patch-2.7.tar.gz) = 1013029
|
9
devel/gpatch/pkg/DESCR
Normal file
9
devel/gpatch/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
GNU patch is the Free Software Foundation's version of the patch(1)
|
||||
command.
|
||||
|
||||
Patch takes a patch file containing a difference listing produced
|
||||
by the diff program and applies those differences to one or more
|
||||
original files, producing patched versions.
|
||||
|
||||
The patch binary is prefixed with the letter g to differentiate it
|
||||
from the standard application with the same name.
|
3
devel/gpatch/pkg/PLIST
Normal file
3
devel/gpatch/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/23 12:23:35 rpe Exp $
|
||||
@bin bin/gpatch
|
||||
@man man/man1/gpatch.1
|
Loading…
Reference in New Issue
Block a user