aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/agrep
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-01-16 23:12:52 +0800
committerdinoex <dinoex@FreeBSD.org>2009-01-16 23:12:52 +0800
commit882d17bec1a3a61c35231db57c1677724a5d8b9f (patch)
treec3235a80b563fd7f8c8ea52e694992443af94488 /textproc/agrep
parent895b4941abe73c873eaa776e5a28270136a89fcf (diff)
downloadfreebsd-ports-gnome-882d17bec1a3a61c35231db57c1677724a5d8b9f.tar.gz
freebsd-ports-gnome-882d17bec1a3a61c35231db57c1677724a5d8b9f.tar.zst
freebsd-ports-gnome-882d17bec1a3a61c35231db57c1677724a5d8b9f.zip
- add NO_CDROM
- add COPYRIGHT - extend Documentation
Diffstat (limited to 'textproc/agrep')
-rw-r--r--textproc/agrep/Makefile19
-rw-r--r--textproc/agrep/distinfo6
-rw-r--r--textproc/agrep/pkg-descr4
-rw-r--r--textproc/agrep/pkg-plist3
4 files changed, 20 insertions, 12 deletions
diff --git a/textproc/agrep/Makefile b/textproc/agrep/Makefile
index 9ed60a4ce4cb..bbf5c6100a87 100644
--- a/textproc/agrep/Makefile
+++ b/textproc/agrep/Makefile
@@ -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>
diff --git a/textproc/agrep/distinfo b/textproc/agrep/distinfo
index 6ac774cc4727..127eeb69aea9 100644
--- a/textproc/agrep/distinfo
+++ b/textproc/agrep/distinfo
@@ -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
diff --git a/textproc/agrep/pkg-descr b/textproc/agrep/pkg-descr
index c1c62fbf1dab..a87dfde51550 100644
--- a/textproc/agrep/pkg-descr
+++ b/textproc/agrep/pkg-descr
@@ -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
diff --git a/textproc/agrep/pkg-plist b/textproc/agrep/pkg-plist
deleted file mode 100644
index d076c65cf9fc..000000000000
--- a/textproc/agrep/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/agrep
-%%PORTDOCS%%%%DOCSDIR%%/agrep.algorithms
-%%PORTDOCS%%@dirrm %%DOCSDIR%%