Index: Makefile =================================================================== RCS file: /usr/cvs/ports/textproc/replaceit/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 14 Apr 2006 22:53:12 -0000 1.5 +++ Makefile 1 Dec 2006 22:16:22 -0000 @@ -7,6 +7,7 @@ PORTNAME= replaceit PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://pldaniels.com/replaceit/ @@ -14,8 +15,17 @@ 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