1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Fix plist when NOPORTDOCS=1

- Use DOCSDIR
- Move sdr2.plugin.S53.image.imm to DATADIR since it's not documentation
  (Bump PORTREVISION)

Reported by:	QAT
This commit is contained in:
Rong-En Fan 2008-08-31 16:18:18 +00:00
parent 67adfe6d37
commit 947dd96d25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219524
4 changed files with 20 additions and 18 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= imm
PORTVERSION= 3.5a1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mbone tk
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
DISTNAME= imm.source
@ -19,6 +19,8 @@ COMMENT= Internet Image(or other data) Multicaster (and receiver)
USE_TK= yes
WRKSRC= ${WRKDIR}/mnm
PORTDOCS= README imm_readme.txt
.include <bsd.port.pre.mk>
post-extract:
@ -33,12 +35,13 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freebsd/lscomp ${PREFIX}/bin
# and no man pages at all yet.
# But include the very limited documentation
${MKDIR} ${PREFIX}/share/doc/imm
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${DOCSDIR}
.endif
# The sdr plugin is pretty much required.
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${DATADIR}
.include <bsd.port.post.mk>

View File

@ -1,7 +1,5 @@
bin/imm
bin/immserv
bin/lscomp
share/doc/imm/README
share/doc/imm/imm_readme.txt
share/doc/imm/sdr2.plugin.S53.image.imm
@dirrm share/doc/imm
%%DATADIR%%/sdr2.plugin.S53.image.imm
@dirrm %%DATADIR%%

View File

@ -7,7 +7,7 @@
PORTNAME= imm
PORTVERSION= 3.5a1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mbone tk
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
DISTNAME= imm.source
@ -19,6 +19,8 @@ COMMENT= Internet Image(or other data) Multicaster (and receiver)
USE_TK= yes
WRKSRC= ${WRKDIR}/mnm
PORTDOCS= README imm_readme.txt
.include <bsd.port.pre.mk>
post-extract:
@ -33,12 +35,13 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freebsd/lscomp ${PREFIX}/bin
# and no man pages at all yet.
# But include the very limited documentation
${MKDIR} ${PREFIX}/share/doc/imm
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${DOCSDIR}
.endif
# The sdr plugin is pretty much required.
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${DATADIR}
.include <bsd.port.post.mk>

View File

@ -1,7 +1,5 @@
bin/imm
bin/immserv
bin/lscomp
share/doc/imm/README
share/doc/imm/imm_readme.txt
share/doc/imm/sdr2.plugin.S53.image.imm
@dirrm share/doc/imm
%%DATADIR%%/sdr2.plugin.S53.image.imm
@dirrm %%DATADIR%%