aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-09-01 00:18:18 +0800
committerrafan <rafan@FreeBSD.org>2008-09-01 00:18:18 +0800
commit38cd31bfa14a19081e6355182c34b34a03816b99 (patch)
tree8968f63b2e8e88c64be07330f8fe73bc38e8ea9c /net
parent5d991d167a5117955d9b8a2a553fcdd5fef0b82d (diff)
downloadfreebsd-ports-gnome-38cd31bfa14a19081e6355182c34b34a03816b99.tar.gz
freebsd-ports-gnome-38cd31bfa14a19081e6355182c34b34a03816b99.tar.zst
freebsd-ports-gnome-38cd31bfa14a19081e6355182c34b34a03816b99.zip
- 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
Diffstat (limited to 'net')
-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%%