2013-05-02 09:21:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2013/05/02 13:21:16 sthen Exp $
|
2003-07-22 13:44:39 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= GNU versions of the diff utilities
|
2003-07-22 13:44:39 -04:00
|
|
|
|
2013-05-02 09:21:16 -04:00
|
|
|
VERSION= 3.3
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2003-07-22 13:44:39 -04:00
|
|
|
DISTNAME= diffutils-${VERSION}
|
2010-11-20 14:56:47 -05:00
|
|
|
PKGNAME= gdiff-${VERSION}
|
2003-07-22 13:44:39 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/diffutils/
|
|
|
|
|
2013-05-02 09:21:16 -04:00
|
|
|
# GPLv3+
|
2003-07-22 13:44:39 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2013-05-02 09:21:16 -04:00
|
|
|
|
|
|
|
WANTLIB= c sigsegv
|
2003-07-22 13:44:39 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
|
|
|
|
|
2004-08-03 05:55:37 -04:00
|
|
|
MODULES= devel/gettext
|
2013-05-02 09:21:16 -04:00
|
|
|
LIB_DEPENDS= devel/libsigsegv
|
2003-07-24 10:56:09 -04:00
|
|
|
|
2013-05-02 09:21:16 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-07-22 13:44:39 -04:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g
|
2003-07-24 10:56:09 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-08-11 16:55:50 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2013-05-02 09:21:16 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux
|
|
|
|
|
|
|
|
# handle --program-prefix: the help-version test runs sdiff which calls
|
|
|
|
# out to gdiff, but it doesn't have that name until installed.
|
|
|
|
pre-test:
|
|
|
|
cd ${WRKBUILD}/src; ln -fs diff gdiff
|
|
|
|
|
|
|
|
TEST_FLAGS= HOME=/tmp
|
2003-07-22 13:44:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|