Subject: pkg/9155: remind pkg: install doc and example files
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@mines.edu>
List: netbsd-bugs
Date: 01/09/2000 14:36:39
>Number:         9155
>Category:       pkg
>Synopsis:       remind pkg: install doc and example files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan  9 14:36:01 2000
>Last-Modified:
>Originator:     Jim Bernard
>Organization:
	Speaking for myself
>Release:        Jan. 8, 2000
>Environment:
System: NetBSD zoo 1.4P NetBSD 1.4P (ZOO) #0: Fri Dec 31 21:09:59 MST 1999 local@zoo:/home/local/compile/sys/arch/i386/compile/ZOO i386


>Description:
	There are several doc and example files that come with remind
	(misc/remind) that would be useful to have installed.

>How-To-Repeat:
	Build the package.  Notice lack of doc and example files among the
	installed files, whereas several exist in the source.

>Fix:
	These patches to Makefile and PLIST add a few such files to the
	installation.

--- Makefile-dist	Mon Apr  5 05:38:58 1999
+++ Makefile	Sun Jan  9 14:20:37 2000
@@ -8,6 +8,21 @@
 
 MAINTAINER=	kim@tac.nyc.ny.us
 
 GNU_CONFIGURE=	yes
 
+post-install:
+	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
+	(cd ${WRKSRC}; \
+		${INSTALL_DATA} -p examples/defs.rem \
+			${PREFIX}/share/examples/remind; \
+		${INSTALL_DATA} -p scripts/remind-all.csh \
+			${PREFIX}/share/examples/remind; \
+		${INSTALL_DATA} -p scripts/remind-all.sh \
+			${PREFIX}/share/examples/remind)
+	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
+	(cd ${WRKSRC}; \
+		${INSTALL_DATA} -p docs/README.UNIX ${PREFIX}/share/doc/remind; \
+		${INSTALL_DATA} -p docs/WHATSNEW.30 ${PREFIX}/share/doc/remind; \
+		${INSTALL_DATA} -p COPYRIGHT ${PREFIX}/share/doc/remind)
+
 .include "../../mk/bsd.pkg.mk"
--- PLIST-dist	Mon Mar  1 23:14:48 1999
+++ PLIST	Sun Jan  9 13:44:36 2000
@@ -7,5 +7,13 @@
 man/man1/kall.1
 man/man1/rem.1
 man/man1/rem2ps.1
 man/man1/remind.1
 man/man1/tkremind.1
+share/examples/remind/defs.rem
+share/examples/remind/remind-all.csh
+share/examples/remind/remind-all.sh
+share/doc/remind/README.UNIX
+share/doc/remind/WHATSNEW.30
+share/doc/remind/COPYRIGHT
+@dirrm share/examples/remind
+@dirrm share/doc/remind
>Audit-Trail:
>Unformatted: