summaryrefslogtreecommitdiff
path: root/textproc/replaceit
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/replaceit')
-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>