aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-22 08:05:27 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-22 08:05:27 +0000
commit38eafcba3fbcc21f2bfec6047a54542884bb510f (patch)
treeb17cc9261df7c17d80622428fc880e32e6292ced /security
parentde7d23e628a973566eb3462069648e7a0c70ff17 (diff)
downloadports-38eafcba3fbcc21f2bfec6047a54542884bb510f.tar.gz
ports-38eafcba3fbcc21f2bfec6047a54542884bb510f.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/bjorb/Makefile7
-rw-r--r--security/bjorb/pkg-plist26
2 files changed, 18 insertions, 15 deletions
diff --git a/security/bjorb/Makefile b/security/bjorb/Makefile
index 1127945f5887..ed4b47769bfa 100644
--- a/security/bjorb/Makefile
+++ b/security/bjorb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bjorb
PORTVERSION= 0.5.5p1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://people.FreeBSD.org/~foxfair/distfiles/
@@ -41,10 +42,12 @@ EXAMPLES= doc/sample/bjorb.conf.doc
post-install:
@${INSTALL_SCRIPT} ${DOCSRC}/doc/sample/bjorb.sh ${PREFIX}/etc/rc.d/bjorb.sh.sample
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/bjorb
+ @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
- @${INSTALL_DATA} ${DOCSRC}/$i ${PREFIX}/share/doc/bjorb
+ @${INSTALL_DATA} ${DOCSRC}/$i ${DOCSDIR}
.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${PREFIX}/share/examples/bjorb
.for i in ${EXAMPLES}
@${INSTALL_DATA} ${DOCSRC}/$i ${PREFIX}/share/examples/bjorb
diff --git a/security/bjorb/pkg-plist b/security/bjorb/pkg-plist
index 81b46c24c06e..8e8e1df0a9a9 100644
--- a/security/bjorb/pkg-plist
+++ b/security/bjorb/pkg-plist
@@ -1,17 +1,17 @@
etc/bjorb.conf.sample
etc/rc.d/bjorb.sh.sample
sbin/bjorb
-share/doc/bjorb/ChangeLog
-share/doc/bjorb/COPYRIGHT
-share/doc/bjorb/INSTALL
-share/doc/bjorb/README
-share/doc/bjorb/ChangeLog.jp
-share/doc/bjorb/COPYRIGHT.jp
-share/doc/bjorb/INSTALL.jp
-share/doc/bjorb/README.jp
-share/doc/bjorb/bjorb.conf.5.jp.txt
-share/doc/bjorb/features.jp
-@dirrm share/doc/bjorb
-share/examples/bjorb/bjorb.conf.doc
-@dirrm share/examples/bjorb
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.jp
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.jp
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.jp
+%%PORTDOCS%%%%DOCSDIR%%/README.jp
+%%PORTDOCS%%%%DOCSDIR%%/bjorb.conf.5.jp.txt
+%%PORTDOCS%%%%DOCSDIR%%/features.jp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bjorb.conf.doc
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@exec ( [ -f %D/certs/bjorb.pem ] && exit ; echo "Making certificate files" ; cd %D/certs ; openssl req -new -x509 -nodes -days 365 -out bjorb.pem -keyout bjorb.pem; ln -s bjorb.pem `openssl x509 -noout -hash < bjorb.pem`.0 ; chmod 644 %D/certs/bjorb.pem )