- use PORTEXAMPLES and PORTDOCS where appropiate and fix plist with NO* defined

- bump PORTREVISION

Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-22 08:05:27 +00:00
parent de7d23e628
commit 38eafcba3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223172
2 changed files with 18 additions and 15 deletions

View File

@ -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

View File

@ -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 )