summaryrefslogtreecommitdiff
path: root/comms/picocom/Makefile
diff options
context:
space:
mode:
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"