1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- add NO_CDROM

- add COPYRIGHT
- extend Documentation
This commit is contained in:
Dirk Meyer 2009-01-16 15:12:52 +00:00
parent 962697d427
commit 106326e80b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226264
4 changed files with 20 additions and 12 deletions

View File

@ -8,26 +8,33 @@
PORTNAME= agrep
PORTVERSION= 2.04
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cs.arizona.edu/agrep/
EXTRACT_SUFX= .tar.Z
#DISTFILES= ${DISTNAME}.${EXTRACT_SUFX} agrep.ps.1.Z agrep.ps.2.Z
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} agrep.ps.1.Z agrep.ps.2.Z
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Approximate grep (fast approximate pattern-matching tool)
NO_CDROM= no redistribution for profit
ALL_TARGET=
MAKE_ARGS= CFLAGS="${CFLAGS}"
MAN1= agrep.1
PLIST_FILES= bin/agrep
PORTDOCS= COPYRIGHT agrep.algorithms agrep.ps.1.Z agrep.ps.2.Z
post-extract:
${CP} ${DISTDIR}/agrep.ps.1.Z ${DISTDIR}/agrep.ps.2.Z ${WRKSRC}/
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/agrep ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/agrep.1 ${PREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/agrep ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/agrep.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/agrep.algorithms ${DOCSDIR}/
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,9 @@
MD5 (agrep-2.04.tar.Z) = abc645404d3926a57c3f5e86a6e89ee9
SHA256 (agrep-2.04.tar.Z) = 31275a2fee28fb8966e1978d26fe8113b61ce49b39e68ddf4cad3964db72d5f8
SIZE (agrep-2.04.tar.Z) = 62351
MD5 (agrep.ps.1.Z) = fcd9454d2b7e54b7d91ba98261a45770
SHA256 (agrep.ps.1.Z) = 34c342b546c7609a8e87863d94cb4927ec60e6ccd4b5e5324ac7cca4793b3ce2
SIZE (agrep.ps.1.Z) = 74055
MD5 (agrep.ps.2.Z) = 507a0ac5ac4cc47677b4c4bb062d6cbe
SHA256 (agrep.ps.2.Z) = 59f8a9e019e6c1c01c05abd09ce319f9af96b676537039819575f66a60b2e8b0
SIZE (agrep.ps.2.Z) = 41544

View File

@ -40,6 +40,4 @@ Two technical papers describing agrep are available as:
USENIX conference.
ftp://ftp.cs.arizona.edu/agrep/agrep.ps.2.Z
- David O'Brien
obrien@NUXI.com
LICENSE: no redistribution for profit

View File

@ -1,3 +0,0 @@
bin/agrep
%%PORTDOCS%%%%DOCSDIR%%/agrep.algorithms
%%PORTDOCS%%@dirrm %%DOCSDIR%%