95d34293e6
(And bump the PKGNAME).
32 lines
741 B
Makefile
32 lines
741 B
Makefile
# $OpenBSD: Makefile,v 1.18 2007/01/29 20:19:57 kili Exp $
|
|
|
|
COMMENT= "approximate grep (fast approximate pattern-matching tool)"
|
|
|
|
DISTNAME= agrep-2.04
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.cs.arizona.edu/agrep/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
# custom
|
|
PERMIT_PACKAGE_FTP= "may not modify"
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
WANTLIB= c
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
ALL_TARGET=
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/agrep
|
|
${INSTALL_PROGRAM} ${WRKSRC}/agrep ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/agrep.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/agrep.algorithms ${PREFIX}/share/doc/agrep
|
|
|
|
.include <bsd.port.mk>
|