1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- use DOCSDIR macro

- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-17 20:43:55 +00:00
parent e7f4e48e2e
commit 736936006e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222983
4 changed files with 24 additions and 21 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= cdrom2
PORTVERSION= 1996.06.16
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://www.nerimadors.or.jp/~jiro/cdrom2/
DISTNAME= euc
@ -20,15 +21,17 @@ DOCS= errata.doc gaiji.txt index.doc install.doc kekka.txt \
kojien3.doc menu.doc readers.doc readme.doc readme.org \
ruigo.doc x_option.doc
SUB_FILES+= pkg-message
do-configure:
@${ECHO_MSG} "Copying custom Makefile."
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${PREFIX}/share/doc/cdrom2
@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/cdrom2
@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
@${CAT} ${PKGMESSAGE}
.endif

View File

@ -2,17 +2,17 @@ bin/cdgaiji
bin/cdrom2
lib/cdrom2/kojien3.tbl
lib/cdrom2/ruigo.tbl
share/doc/cdrom2/errata.doc
share/doc/cdrom2/gaiji.txt
share/doc/cdrom2/index.doc
share/doc/cdrom2/install.doc
share/doc/cdrom2/kekka.txt
share/doc/cdrom2/kojien3.doc
share/doc/cdrom2/menu.doc
share/doc/cdrom2/readers.doc
share/doc/cdrom2/readme.doc
share/doc/cdrom2/readme.org
share/doc/cdrom2/ruigo.doc
share/doc/cdrom2/x_option.doc
@dirrm share/doc/cdrom2
%%PORTDOCS%%%%DOCSDIR%%/errata.doc
%%PORTDOCS%%%%DOCSDIR%%/gaiji.txt
%%PORTDOCS%%%%DOCSDIR%%/index.doc
%%PORTDOCS%%%%DOCSDIR%%/install.doc
%%PORTDOCS%%%%DOCSDIR%%/kekka.txt
%%PORTDOCS%%%%DOCSDIR%%/kojien3.doc
%%PORTDOCS%%%%DOCSDIR%%/menu.doc
%%PORTDOCS%%%%DOCSDIR%%/readers.doc
%%PORTDOCS%%%%DOCSDIR%%/readme.doc
%%PORTDOCS%%%%DOCSDIR%%/readme.org
%%PORTDOCS%%%%DOCSDIR%%/ruigo.doc
%%PORTDOCS%%%%DOCSDIR%%/x_option.doc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/cdrom2

View File

@ -8,7 +8,7 @@
PORTNAME= chasen
PORTVERSION= 2.3.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese textproc
MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/chasen/
PKGNAMESUFFIX= -base
@ -32,8 +32,8 @@ post-install:
${RM} -f ${PREFIX}/lib/libchasen.la
${MKDIR} ${PREFIX}/share/chasen/dic
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/chasen/doc
${INSTALL_DATA} ${WRKSRC}/doc/manual* ${PREFIX}/share/chasen/doc/
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/manual* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -10,7 +10,7 @@ libexec/chasen/makemat
@dirrm libexec/chasen
@exec mkdir -p %D/share/chasen/dic >/dev/null 2>&1 || true
@dirrm share/chasen/dic
share/chasen/doc/manual-j.pdf
share/chasen/doc/manual-j.tex
@dirrm share/chasen/doc
%%PORTDOCS%%%%DOCSDIR%%/manual-j.pdf
%%PORTDOCS%%%%DOCSDIR%%share/chasen/doc/manual-j.tex
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/chasen