View | Details | Raw Unified | Return to bug 73550
Collapse All | Expand All

(-)UPDATING (-1 / +1 lines)
Lines 20-26 Link Here
20
  The format of PREFIX/etc/rskkserv.conf has changed in version 2.95.
20
  The format of PREFIX/etc/rskkserv.conf has changed in version 2.95.
21
  Please update your configuration file before restarting the server
21
  Please update your configuration file before restarting the server
22
  using PREFIX/share/examples/rskkserv/conf-o2n.rb and referring to
22
  using PREFIX/share/examples/rskkserv/conf-o2n.rb and referring to
23
  PREFIX/etc/rskkserv.conf.sample.
23
  PREFIX/share/examples/rskkserv/rskkserv.conf.sample.
24
24
25
20041031:
25
20041031:
26
  AFFECTS: users of databases/mysql40-server
26
  AFFECTS: users of databases/mysql40-server
(-)japanese/rskkserv/Makefile (-1 / +2 lines)
Lines 61-67 Link Here
61
		${WRKSRC}/doc/conf-o2n.rb
61
		${WRKSRC}/doc/conf-o2n.rb
62
62
63
post-install:
63
post-install:
64
	${INSTALL_DATA} ${WRKSRC}/doc/rskkserv.conf.sample ${PREFIX}/etc/
65
	@if [ ! -f ${STARTUP_SCRIPT} ]; then \
64
	@if [ ! -f ${STARTUP_SCRIPT} ]; then \
66
		${ECHO} "Installing ${STARTUP_SCRIPT} file."; \
65
		${ECHO} "Installing ${STARTUP_SCRIPT} file."; \
67
		( \
66
		( \
Lines 102-106 Link Here
102
.endif
101
.endif
103
	${MKDIR} ${EXAMPLESDIR}
102
	${MKDIR} ${EXAMPLESDIR}
104
	${INSTALL_SCRIPT} ${WRKSRC}/doc/conf-o2n.rb ${EXAMPLESDIR}
103
	${INSTALL_SCRIPT} ${WRKSRC}/doc/conf-o2n.rb ${EXAMPLESDIR}
104
	${INSTALL_DATA} ${WRKSRC}/rskkserv.conf ${EXAMPLESDIR}
105
	${INSTALL_DATA} ${WRKSRC}/doc/rskkserv.conf.sample ${EXAMPLESDIR}
105
106
106
.include <bsd.port.mk>
107
.include <bsd.port.mk>
(-)japanese/rskkserv/pkg-plist (-2 / +4 lines)
Lines 1-6 Link Here
1
etc/rc.d/rskkserv.sh
1
etc/rc.d/rskkserv.sh
2
etc/rskkserv.conf
2
@unexec if cmp -s %D/etc/rskkserv.conf %D/%%EXAMPLESDIR%%/rskkserv.conf; then rm -f %D/etc/rskkserv.conf; fi
3
etc/rskkserv.conf.sample
4
%%RUBY_SITEARCHLIBDIR%%/skkserv/skkdic.so
3
%%RUBY_SITEARCHLIBDIR%%/skkserv/skkdic.so
5
@dirrm %%RUBY_SITEARCHLIBDIR%%/skkserv
4
@dirrm %%RUBY_SITEARCHLIBDIR%%/skkserv
6
%%RUBY_SITELIBDIR%%/skkserv/bdbdic.rb
5
%%RUBY_SITELIBDIR%%/skkserv/bdbdic.rb
Lines 16-19 Link Here
16
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
15
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
17
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
16
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
18
%%EXAMPLESDIR%%/conf-o2n.rb
17
%%EXAMPLESDIR%%/conf-o2n.rb
18
%%EXAMPLESDIR%%/rskkserv.conf
19
@exec [ -f %D/etc/rskkserv.conf ] || cp %B/%f %D/etc/rskkserv.conf
20
%%EXAMPLESDIR%%/rskkserv.conf.sample
19
@dirrm %%EXAMPLESDIR%%
21
@dirrm %%EXAMPLESDIR%%
(-)japanese/rskkserv/files/patch-Makefile.in (+13 lines)
Added Link Here
1
--- Makefile.in.orig	Thu Nov  4 02:08:36 2004
2
+++ Makefile.in	Fri Nov  5 09:05:02 2004
3
@@ -75,7 +75,9 @@
4
 install: all installdirs
5
 	cd ext; make DESTDIR=$(DESTDIR) rss-install; cd ..
6
 	$(INSTALL) -m0755 $(SKKSERV) $(DESTDIR)$(sbindir)/$(SKKSERV)
7
-	$(INSTALL) -m0644 $(CONFFILE) $(DESTDIR)$(sysconfdir)/$(CONFFILE)
8
+	if [ ! -f $(DESTDIR)$(sysconfdir)/$(CONFFILE) ]; then \
9
+	    $(INSTALL) -m0644 $(CONFFILE) $(DESTDIR)$(sysconfdir)/; \
10
+	fi
11
 
12
 installdirs:
13
 	mkdir -p $(DESTDIR)$(sbindir)

Return to bug 73550