summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-31 16:18:18 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-31 16:18:18 +0000
commit947dd96d25682b48042a484d6af7b36fb68dd077 (patch)
treedfef004874041d4e3ba01d00f81c871ed0d6b3f6 /mbone
parent- Fix plist when NOPORTDOCS=1 (diff)
- 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
Notes
Notes: svn path=/head/; revision=219524
Diffstat (limited to 'mbone')
-rw-r--r--mbone/imm/Makefile13
-rw-r--r--mbone/imm/pkg-plist6
2 files changed, 10 insertions, 9 deletions
diff --git a/mbone/imm/Makefile b/mbone/imm/Makefile
index d9bd63ee47a2..788e0d08a072 100644
--- a/mbone/imm/Makefile
+++ b/mbone/imm/Makefile
@@ -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>
diff --git a/mbone/imm/pkg-plist b/mbone/imm/pkg-plist
index f470d0e00c01..726b2b167e2a 100644
--- a/mbone/imm/pkg-plist
+++ b/mbone/imm/pkg-plist
@@ -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%%