summaryrefslogtreecommitdiff
path: root/net/iodine
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2014-05-22 22:54:25 +0000
committerDavid Thiel <lx@FreeBSD.org>2014-05-22 22:54:25 +0000
commit4d8f3d8fb5b5e747de4e6f6dfbaa70383e7b1bba (patch)
treec61f6734a52d23dba566f8aa0ff0edd11de11d66 /net/iodine
parentRevert upstream changeset 446b5b5 as it would break the case when (diff)
Stageify and add license.
PR: ports/190079 Submitted by: freebsd@nagilum.org
Notes
Notes: svn path=/head/; revision=354895
Diffstat (limited to 'net/iodine')
-rw-r--r--net/iodine/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/net/iodine/Makefile b/net/iodine/Makefile
index a48261d12c23..42f671f16340 100644
--- a/net/iodine/Makefile
+++ b/net/iodine/Makefile
@@ -11,7 +11,9 @@ DISTNAME= ${PORTNAME}-0.6.0-rc1
MAINTAINER= lx@FreeBSD.org
COMMENT= Tunnel IPv4 data through a DNS server
-PLIST_FILES= bin/iodine sbin/iodined
+LICENSE= BSD
+
+PLIST_FILES= bin/iodine sbin/iodined man/man8/iodine.8.gz man/man8/iodined.8.gz
PORTDOCS= CHANGELOG README TODO
@@ -20,19 +22,20 @@ MLINKS= iodine.8 iodined.8
USE_RC_SUBR= iodined
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${STAGEDIR}${PREFIX}/sbin
.for m in ${MAN8}
- ${INSTALL_MAN} ${WRKSRC}/man/${m} ${MANPREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/man/${m} ${STAGEDIR}${MANPREFIX}/man/man8
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${GZIP_CMD} ${STAGEDIR}${MANPREFIX}/man/man8/iodine.8
+ ${LN} -s iodine.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/iodined.8.gz
+.if !defined(PORT_OPTIONS:MDOCS)
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif