aboutsummaryrefslogtreecommitdiffstats
path: root/net/imm
diff options
context:
space:
mode:
Diffstat (limited to 'net/imm')
-rw-r--r--net/imm/Makefile13
-rw-r--r--net/imm/pkg-plist6
2 files changed, 10 insertions, 9 deletions
diff --git a/net/imm/Makefile b/net/imm/Makefile
index d9bd63ee47a2..788e0d08a072 100644
--- a/net/imm/Makefile
+++ b/net/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/net/imm/pkg-plist b/net/imm/pkg-plist
index f470d0e00c01..726b2b167e2a 100644
--- a/net/imm/pkg-plist
+++ b/net/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%%