Subject: pkg/14300: README of devel/apel
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 10/20/2001 00:28:57
>Number:         14300
>Category:       pkg
>Synopsis:       README of devel/apel
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 19 08:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        -current 1.5X
>Organization:
	
>Environment:
	
System: NetBSD river.my.domain 1.5X NetBSD 1.5X (River) #0: Fri Aug 10 08:55:32 JST 2001 hiramatsu@river.my.domain:/usr/src/sys/arch/i386/compile/River i386
Architecture: i386
Machine: i386
>Description:
This patch makes "devel/apel" install its README.* files.

diff -bru apel.orig/Makefile apel/Makefile
--- apel.orig/Makefile	Fri Oct 19 22:23:26 2001
+++ apel/Makefile	Fri Oct 19 22:23:44 2001
@@ -10,4 +10,12 @@
 
 DEPENDS+=	emacs-20.7:../../editors/emacs
 
+DOCDIR=		${PREFIX}/share/doc/apel
+
+post-install:
+	${INSTALL_DATA_DIR} ${DOCDIR}/en
+	${INSTALL_DATA_DIR} ${DOCDIR}/ja
+	${INSTALL_DATA} ${WRKSRC}/README.en ${DOCDIR}/en
+	${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCDIR}/ja
+
 .include "../../mk/bsd.pkg.mk"
diff -bru apel.orig/pkg/PLIST apel/pkg/PLIST
--- apel.orig/pkg/PLIST	Fri Oct 19 22:23:25 2001
+++ apel/pkg/PLIST	Fri Oct 19 22:23:43 2001
@@ -57,3 +57,8 @@
 share/emacs/20.7/site-lisp/emu/richtext.el
 share/emacs/20.7/site-lisp/emu/mule-caesar.el
 @dirrm share/emacs/20.7/site-lisp/emu
+share/doc/apel/en/README.en
+share/doc/apel/ja/README.ja
+@dirrm share/doc/apel/en
+@dirrm share/doc/apel/ja
+@dirrm share/doc/apel

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: