aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-10-19 13:16:55 +0800
committermax <max@FreeBSD.org>1996-10-19 13:16:55 +0800
commit3ca13948dfaa197142c28b9dc12dc9f978976138 (patch)
treef2e82607a41f5658dbd42a3834cb2d099d538897
parent2e0184246603bd0bb68a05577b0f0fe77f2b16f2 (diff)
downloadfreebsd-ports-graphics-3ca13948dfaa197142c28b9dc12dc9f978976138.tar.gz
freebsd-ports-graphics-3ca13948dfaa197142c28b9dc12dc9f978976138.tar.zst
freebsd-ports-graphics-3ca13948dfaa197142c28b9dc12dc9f978976138.zip
This port now installs relevant docs and examples into
${PREFIX}/share/doc/mnews and ${PREFIX}/share/examples/mnews respectively instead of ${PREFIX}/share/mnews/{doc,samples}. Suggested by: asami
-rw-r--r--japanese/mnews/Makefile19
-rw-r--r--japanese/mnews/pkg-plist31
2 files changed, 24 insertions, 26 deletions
diff --git a/japanese/mnews/Makefile b/japanese/mnews/Makefile
index 27c1a71feed..4d9436af8d0 100644
--- a/japanese/mnews/Makefile
+++ b/japanese/mnews/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $
+# $Id: Makefile,v 1.1.1.1 1996/09/24 17:03:35 max Exp $
#
DISTNAME= mnews119
@@ -33,17 +33,15 @@ do-install:
if [ ! -d ${PREFIX}/lib/mnews ] ; \
then /bin/mkdir -p ${PREFIX}/lib/mnews ; fi
${INSTALL_DATA} ${WRKSRC}/jnames.fj ${PREFIX}/lib/mnews/jnames
- if [ ! -d ${PREFIX}/share/mnews ] ; \
- then /bin/mkdir -p ${PREFIX}/share/mnews ; fi
- if [ ! -d ${PREFIX}/share/mnews/doc ] ; \
- then /bin/mkdir ${PREFIX}/share/mnews/doc ; fi
+ if [ ! -d ${PREFIX}/share/doc/mnews ] ; \
+ then /bin/mkdir -p ${PREFIX}/share/doc/mnews; fi
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/mnews/doc
+ ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/mnews
.endfor
- if [ ! -d ${PREFIX}/share/mnews/samples ] ; \
- then /bin/mkdir ${PREFIX}/share/mnews/samples ; fi
+ if [ ! -d ${PREFIX}/share/examples/mnews ] ; \
+ then /bin/mkdir -p ${PREFIX}/share/examples/mnews; fi
.for f in ${SAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/mnews/samples
+ ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/examples/mnews
.endfor
post-install:
.if !defined(BATCH)
@@ -56,6 +54,7 @@ post-install:
@echo "contains correct domain name."
@echo my.domain.com > ${PREFIX}/lib/mnews/default-domain
.endif
- @echo "Refer to the files in ${PREFIX}/share/mnews."
+ @echo "Please refer to the files in:"
+ @echo "${PREFIX}/share/doc/mnews & ${PREFIX}/share/examples/mnews."
.include <bsd.port.mk>
diff --git a/japanese/mnews/pkg-plist b/japanese/mnews/pkg-plist
index 7654fcddfb9..a0a415c7efe 100644
--- a/japanese/mnews/pkg-plist
+++ b/japanese/mnews/pkg-plist
@@ -1,20 +1,19 @@
bin/mnews
lib/mnews/jnames
lib/mnews/default-domain
-share/mnews/doc/FAQ.doc
-share/mnews/doc/board.doc
-share/mnews/doc/mnews.1
-share/mnews/doc/mnews.doc
-share/mnews/doc/prerel.doc
-share/mnews/doc/present.doc
-share/mnews/doc/read1ST.doc
-share/mnews/doc/readme.doc
-share/mnews/doc/update.doc
-share/mnews/samples/jnames.fj
-share/mnews/samples/jnames.jp
-share/mnews/samples/jnames.smp
-share/mnews/samples/jnames.tnn
+share/doc/mnews/FAQ.doc
+share/doc/mnews/board.doc
+share/doc/mnews/mnews.1
+share/doc/mnews/mnews.doc
+share/doc/mnews/prerel.doc
+share/doc/mnews/present.doc
+share/doc/mnews/read1ST.doc
+share/doc/mnews/readme.doc
+share/doc/mnews/update.doc
+share/examples/mnews/jnames.fj
+share/examples/mnews/jnames.jp
+share/examples/mnews/jnames.smp
+share/examples/mnews/jnames.tnn
@dirrm lib/mnews
-@dirrm share/mnews/doc
-@dirrm share/mnews/samples
-@dirrm share/mnews
+@dirrm share/doc/mnews
+@dirrm share/examples/mnews