summaryrefslogtreecommitdiff
path: root/textproc/replaceit
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-12-03 21:10:18 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-12-03 21:10:18 +0000
commit6f5b7869023457abb15ad0625b30f9ea4fe84bb6 (patch)
tree88fee44bbea43f528e464c169a06bf3197d2f0b0 /textproc/replaceit
parent- Deprecate (diff)
dd support for NOPORTDOCS
- Bump PORTREVISION PR: 106206 Submitted by: gabor
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>