- install docs in DOCSDIR

- fix plist for -DNOORTDOCS
- bump PORTREVISION

Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-17 22:39:17 +00:00
parent 67a002aa97
commit 2c2226c558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222994
2 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= easypr PORTNAME= easypr
PORTVERSION= 0.70 PORTVERSION= 0.70
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= japanese print CATEGORIES= japanese print
MASTER_SITES= http://www.linet.gr.jp/~mituiwa/ MASTER_SITES= http://www.linet.gr.jp/~mituiwa/
DISTNAME= print-${PORTVERSION} DISTNAME= print-${PORTVERSION}
@ -30,8 +30,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lpr2 ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/lpr2 ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/setcap ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/setcap ${PREFIX}/bin
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ja-easypr ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja-easypr/README.jp ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README.jp
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
bin/easypr bin/easypr
bin/lpr2 bin/lpr2
bin/setcap bin/setcap
share/doc/ja-easypr/README.jp %%PORTDOCS%%%%DOCSDIR%%/README.jp
@dirrm share/doc/ja-easypr %%PORTDOCS%%@dirrm %%DOCSDIR%%