ports/106206: [patch] textproc/replaceit
Gabor Kovesdan
gabor at FreeBSD.org
Sat Dec 2 13:20:12 UTC 2006
>Number: 106206
>Category: ports
>Synopsis: [patch] textproc/replaceit
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 02 13:20:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gabor Kovesdan
>Release: FreeBSD 6.1-RELEASE-p3 amd64
>Organization:
n/a
>Environment:
>Description:
- Add support for NOPORTDOCS
- Bump PORTREVISION
>How-To-Repeat:
>Fix:
--- textproc-replaceit.diff begins here ---
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 <bsd.port.mk>
--- textproc-replaceit.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list