summaryrefslogtreecommitdiff
path: root/comms/picocom/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2016-02-14 07:54:51 +0000
committerryoon <ryoon>2016-02-14 07:54:51 +0000
commit6be3cb6a39e333665485e4e40515356fa6782282 (patch)
tree82e72ade70fc90e5eb9ba1bcad7ef44a6e344ccb /comms/picocom/Makefile
parent8fd6801a7b66466608b64c2190a6136ea17680c8 (diff)
downloadpkgsrc-6be3cb6a39e333665485e4e40515356fa6782282.tar.gz
Import picocom-2.1 as comms/picocom.
As its name suggests, picocom is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it's "pico" instead of "mini"! It was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech serial communications program to allow access to all types of devices that provide serial consoles. It could also prove useful in many other similar tasks.
Diffstat (limited to 'comms/picocom/Makefile')
-rw-r--r--comms/picocom/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/comms/picocom/Makefile b/comms/picocom/Makefile
new file mode 100644
index 00000000000..0bbecd9d641
--- /dev/null
+++ b/comms/picocom/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2016/02/14 07:54:51 ryoon Exp $
+
+DISTNAME= picocom-2.1
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_GITHUB:=npat-efault/}
+GITHUB_PROJECT= picocom
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= https://github.com/npat-efault/picocom
+COMMENT= Minimal dumb-terminal emulation program
+LICENSE= gnu-gpl-v2
+
+PC_BINARY= picocom
+PC_SCRIPTS= pcasc pcxm pcym pczm
+PC_MAN= picocom.1
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PC_BINARY} \
+ ${DESTDIR}${PREFIX}/bin
+.for f in ${PC_SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/${PC_MAN} \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"