Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 03:00:03 +0900 (JST)
From:      sada@e-mail.ne.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7401: port japanese/handbook can't be installed
Message-ID:  <199807261801.DAA06739@mfi01.iij.ad.jp>

next in thread | raw e-mail | index | archive | help

>Number:         7401
>Category:       ports
>Synopsis:       port japanese/handbook can't be installed
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 26 11:10:01 PDT 1998
>Last-Modified:
>Originator:     SADA Kenji
>Organization:
Nagoya.Aichi.Japan
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

	FreeBSD 2.2.7-RELEASE i386

>Description:

	If we have never made the directory `/usr/share/doc/ja/handbook',
	the installation will be failed.

>How-To-Repeat:

	Install the port on a clean 2.2.7-RELEASE system.

>Fix:

--- Makefile.orig	Mon Jul 27 00:25:33 1998
+++ Makefile	Mon Jul 27 00:27:45 1998
@@ -19,6 +19,7 @@
 WRKSRC=		${WRKDIR}/handbook
 
 HANDBOOKDIR?=	/usr/opt/doc/ja/handbook
+DOCDIR=		${PREFIX}/share/doc/ja
 
 do-extract:
 	@if [ ! -d ${HANDBOOKDIR} ]; then \
@@ -32,7 +33,9 @@
 	${CP} ${HANDBOOKDIR}/Makefile ${WRKSRC}
 	${CP} ${HANDBOOKDIR}/*.sgml ${WRKSRC}
 
+pre-install:
+	${MKDIR} ${DOCDIR}/handbook
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/handbook.ln /usr/share/doc/ja/handbook
+	${INSTALL_DATA} ${WRKSRC}/handbook.ln ${DOCDIR}/handbook
 
 .include <bsd.port.mk>

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807261801.DAA06739>