summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-06 21:22:40 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-06 21:22:40 +0000
commitd45c442fe3ddb821876a4706c5afd9e5a412e342 (patch)
tree21aab61978925eaca87f9f3769c953cb31c665c3
parenta71d622b5a834965e22c547f962d23bb58d084aa (diff)
downloadfreebsd-ports-d45c442fe3ddb821876a4706c5afd9e5a412e342.zip
Stage support
-rw-r--r--textproc/sgrep/Makefile11
-rw-r--r--textproc/sgrep/pkg-plist1
2 files changed, 5 insertions, 7 deletions
diff --git a/textproc/sgrep/Makefile b/textproc/sgrep/Makefile
index 52a4506fbc2a..805b93f046ac 100644
--- a/textproc/sgrep/Makefile
+++ b/textproc/sgrep/Makefile
@@ -10,17 +10,14 @@ MASTER_SITES= ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ \
MASTER_SITE_SUBDIR= jkoshy
MAINTAINER= ports@FreeBSD.org
-COMMENT= A `grep' for structured text like SGML and HTML
+COMMENT= Grep for structured text like SGML and HTML
CONFLICTS= sgrep2-1.*
-MAN1= sgrep.1
-
# Override the install target in the supplied makefile
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sgrep ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/sgrep.1 ${MANPREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/sample.sgreprc ${PREFIX}/share/sgreprc
+ ${INSTALL_PROGRAM} ${WRKSRC}/sgrep ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/sgrep.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/sample.sgreprc ${STAGEDIR}${PREFIX}/share/sgreprc
.include <bsd.port.mk>
diff --git a/textproc/sgrep/pkg-plist b/textproc/sgrep/pkg-plist
index 23474556557d..6044661a1d61 100644
--- a/textproc/sgrep/pkg-plist
+++ b/textproc/sgrep/pkg-plist
@@ -1,2 +1,3 @@
bin/sgrep
+man/man1/sgrep.1.gz
share/sgreprc