aboutsummaryrefslogtreecommitdiffstats
path: root/comms/jerm/Makefile
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-07-29 03:11:05 +0800
committergarga <garga@FreeBSD.org>2005-07-29 03:11:05 +0800
commit5862f5456357eb636650de9fab68f4e8d833ed9c (patch)
treed9333ab6a2c9ce6125798d3c965249c085f9710e /comms/jerm/Makefile
parent424f2900a903f9b9dbf00fb8d057d186ab36e9a1 (diff)
downloadfreebsd-ports-gnome-5862f5456357eb636650de9fab68f4e8d833ed9c.tar.gz
freebsd-ports-gnome-5862f5456357eb636650de9fab68f4e8d833ed9c.tar.zst
freebsd-ports-gnome-5862f5456357eb636650de9fab68f4e8d833ed9c.zip
Add jerm 8094, communication terminal through serial and TCP/IP
interfaces. PR: ports/82633 Submitted by: Shinsuke Matsui <smatsui@karashi.org>
Diffstat (limited to 'comms/jerm/Makefile')
-rw-r--r--comms/jerm/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/comms/jerm/Makefile b/comms/jerm/Makefile
new file mode 100644
index 000000000000..5a6bb8de8691
--- /dev/null
+++ b/comms/jerm/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: jerm
+# Date created: Jun 25, 2005
+# Whom: Shinsuke Matsui (<smatsui@karashi.org>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= jerm
+PORTVERSION= 8094
+CATEGORIES= comms
+MASTER_SITES= http://www.bsddiary.net/jerm/
+
+MAINTAINER= smatsui@karashi.org
+COMMENT= Communication terminal through serial and TCP/IP interfaces
+
+MAN1= jerm.1
+
+OPTIONS= JUPITER "With Jupiter support" off
+
+PORTDOCS= README
+USE_REINPLACE= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_JUPITER)
+PLIST_SUB+= WITH_JUPITER=""
+.else
+PLIST_SUB+= WITH_JUPITER="@comment "
+.endif
+
+.if !defined(WITH_JUPITER)
+MAKE_ARGS+= JUPITER_FLAGS=
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/jerm ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tiocdtr ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/jerm.1 ${PREFIX}/man/man1
+.if defined(WITH_JUPITER)
+ @${MKDIR} ${PREFIX}/libexec/jerm
+ ${INSTALL_SCRIPT} ${WRKSRC}/init.sh ${PREFIX}/libexec/jerm
+ ${INSTALL_SCRIPT} ${WRKSRC}/rock.pl ${PREFIX}/libexec/jerm
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>