aboutsummaryrefslogtreecommitdiff
path: root/textproc/agrep
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-01-16 15:12:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-01-16 15:12:52 +0000
commit106326e80b853c3aa18d21d8b0b2aac6407d3400 (patch)
treea5f5c58e5877968fa7c58103f18cd2eb785f1329 /textproc/agrep
parent962697d427ba3bf185e166bb89b93bd0357e9ab5 (diff)
downloadports-106326e80b853c3aa18d21d8b0b2aac6407d3400.tar.gz
ports-106326e80b853c3aa18d21d8b0b2aac6407d3400.zip
Notes
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%%