summaryrefslogtreecommitdiff
path: root/comms/zmtx-zmrx/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-20 05:15:05 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-20 05:15:05 +0000
commitd2da949f1476a4b71462cb05e69a01bde13d7814 (patch)
tree6c75b8297aa45485b1c00bc349ed87f8c704b785 /comms/zmtx-zmrx/Makefile
parentUpdate to 2.1. (diff)
- Do not call cleanup() in usage() (read: before fd_init()). Doing so can
mangle your terminal badly (in fact, it does very noticeably on Linux) - While here, trim Makefile header, improve COMMENT, use MANPREFIX when installing manual pages, sort knobs, et cetera Submitted by: Andy Xie (andy.xie.sz@gmail.com) Approved by: delphij (maintainer) Feature safe: yes
Notes
Notes: svn path=/head/; revision=316126
Diffstat (limited to 'comms/zmtx-zmrx/Makefile')
-rw-r--r--comms/zmtx-zmrx/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/comms/zmtx-zmrx/Makefile b/comms/zmtx-zmrx/Makefile
index b659f22a4321..09bc7f58cf10 100644
--- a/comms/zmtx-zmrx/Makefile
+++ b/comms/zmtx-zmrx/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: zmtx-zmrx
-# Date created: 29 July 1996
-# Whom: David O'Brien <obrien@cs.ucdavis.edu>
-#
+# Created by: David O'Brien <obrien@cs.ucdavis.edu>
# $FreeBSD$
-#
PORTNAME= zmtx-zmrx
PORTVERSION= 1.02
@@ -12,24 +7,26 @@ CATEGORIES= comms
MASTER_SITES= ftp://ftp.netsw.org/net/modem/protocols/zmodem/zmtx-zmrx/
MAINTAINER= delphij@FreeBSD.org
-COMMENT= Receive/Send files via ZMODEM protocol. (unrestrictive)
+COMMENT= Send and receive files via ZMODEM protocol (unrestrictive)
+
+USE_CSTD= gnu89
-WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
MAN1= zmrx.1 zmtx.1
PLIST_FILES= bin/zmrx bin/zmtx
-USE_CSTD= gnu89
do-install:
.for f in zmrx zmtx
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MANPREFIX}/man/man1
.endfor
post-install:
- @${ECHO_MSG} ""
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
- @${ECHO_MSG} ""
+ @${ECHO_MSG}
.include <bsd.port.mk>