aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-12-04 05:10:18 +0800
committererwin <erwin@FreeBSD.org>2006-12-04 05:10:18 +0800
commit2b22badc021e5f51dd7f0ea3dc62b1eb8b0faa74 (patch)
tree877ceb2cc36f62b83e1d54f2b2cc140c3a2e77e8 /textproc
parent1f34c030cf38161407509abadb02a620f8208419 (diff)
downloadfreebsd-ports-gnome-2b22badc021e5f51dd7f0ea3dc62b1eb8b0faa74.tar.gz
freebsd-ports-gnome-2b22badc021e5f51dd7f0ea3dc62b1eb8b0faa74.tar.zst
freebsd-ports-gnome-2b22badc021e5f51dd7f0ea3dc62b1eb8b0faa74.zip
dd support for NOPORTDOCS
- Bump PORTREVISION PR: 106206 Submitted by: gabor
Diffstat (limited to 'textproc')
-rw-r--r--textproc/replaceit/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/replaceit/Makefile b/textproc/replaceit/Makefile
index 4cb275629550..b9d4f32974d1 100644
--- a/textproc/replaceit/Makefile
+++ b/textproc/replaceit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= replaceit
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://pldaniels.com/replaceit/
@@ -14,8 +15,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A light replacement to the combination of sed/awk/grep/head/tail
PLIST_FILES= bin/replaceit
+PORTDOCS= CHANGELOG INSTALL LICENSE README
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${PREFIX}/bin
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>