From 6f5b7869023457abb15ad0625b30f9ea4fe84bb6 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Sun, 3 Dec 2006 21:10:18 +0000 Subject: dd support for NOPORTDOCS - Bump PORTREVISION PR: 106206 Submitted by: gabor --- textproc/replaceit/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'textproc/replaceit') 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 -- cgit v1.2.3