FreeBSD Bugzilla – Attachment 2652 Details for
Bug 7894
japanese/handbook: building on-demand PLIST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.45 KB, created by
sada
on 1998-09-11 10:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
sada
Created:
1998-09-11 10:20:01 UTC
Size:
1.45 KB
patch
obsolete
>--- Makefile.orig Wed Sep 9 03:33:27 1998 >+++ Makefile Fri Sep 11 17:13:55 1998 >@@ -6,7 +6,7 @@ > # $Id: Makefile,v 1.9 1998/08/15 14:56:05 kuriyama Exp $ > # > >-DISTNAME= ja-handbook-2.2.6 >+DISTNAME= ja-handbook-2.2.7 > CATEGORIES= japanese > DISTFILES= # none > >@@ -17,9 +17,10 @@ > PREFIX= /usr > NO_MTREE= yes > WRKSRC= ${WRKDIR}/handbook >+PLIST= ${WRKDIR}/PLIST > > HANDBOOKDIR?= /usr/opt/doc/ja/handbook >-DOCDIR= ${PREFIX}/share/doc/ja >+DOC_SUBDIR?= share/doc/ja/handbook > > do-extract: > @if [ ! -d ${HANDBOOKDIR} ]; then \ >@@ -33,9 +34,25 @@ > ${CP} ${HANDBOOKDIR}/Makefile ${WRKSRC} > ${CP} ${HANDBOOKDIR}/*.sgml ${WRKSRC} > >+post-build: >+ @${ECHO} "${DOC_SUBDIR}/handbook.html" >${PLIST} >+ @${ECHO} "${DOC_SUBDIR}/handbook.ln" >>${PLIST} >+ @${ECHO} "@exec cd %B; /bin/sh %f" >>${PLIST} >+ @${ECHO} "${DOC_SUBDIR}/handbook.roff" >>${PLIST} >+ @cd ${WRKSRC} && \ >+ /bin/ls handbook[0-9]*.html \ >+ | /usr/bin/sort|${AWK} '{printf "${DOC_SUBDIR}/%s\n", $$1}' \ >+ >>${PLIST} >+ @${ECHO} "${DOC_SUBDIR}/handbook_toc.html" >>${PLIST} >+ @${ECHO} "@comment remove all links" >>${PLIST} >+ @${ECHO} "@unexec cd %B; for i in *.html; do if [ -h \$$i ]; then /bin/rm -f \$$i; fi; done" \ >+ >>${PLIST} >+ @${ECHO} "@dirrm ${DOC_SUBDIR}" >>${PLIST} >+ > pre-install: >- ${MKDIR} ${DOCDIR}/handbook >+ ${MKDIR} ${PREFIX}/${DOC_SUBDIR} >+ > post-install: >- ${INSTALL_DATA} ${WRKSRC}/handbook.ln ${DOCDIR}/handbook >+ ${INSTALL_DATA} ${WRKSRC}/handbook.ln ${PREFIX}/${DOC_SUBDIR} > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7894
: 2652