mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
bca78cdfb3
basically what the PR suggested, although i did it somewhat differently. (The PR was related to the previous version of Kermit anyway.) After asking Frank da Cruz again, i did however decide to not run the shipped ckermit.ini (alias .kermrc) by default; the defaults of Kermit version 7 are supposed to fit the needs of most people, so there is no need to run the .ini file for everybody. Those who want it can still find it in the `examples' directory (and Frank suggested users who like to do this can easily run this as a `kerbang' script file instead of starting the plain kermit binary). PR: ports/14894 Submitted by: Oh Junseon <hollywar@holywar.net>
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: kermit
|
|
# Version required: 6.0.192
|
|
# Date created: Oct 27, 1994
|
|
# Whom: pst
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= cku196
|
|
PKGNAME= kermit-7.0.196
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/
|
|
|
|
MAINTAINER= joerg@FreeBSD.org
|
|
|
|
NO_WRKSUBDIR= yes
|
|
MAN1= kermit.1
|
|
MANCOMPRESSED= yes
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/examples/kermit
|
|
@${MKDIR} ${PREFIX}/share/doc/kermit
|
|
${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${PREFIX}/share/doc/kermit/READ.ME
|
|
@for file in ckuaaa.txt ckermit2.txt ckcbwr.txt ckubwr.txt \
|
|
ckuins.txt telnet.txt security.txt iksd.txt ckcplm.txt \
|
|
ckccfg.txt ; \
|
|
do \
|
|
echo Installing ${PREFIX}/share/doc/kermit/$${file} ... ; \
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/share/doc/kermit/; \
|
|
done
|
|
@set -- \
|
|
ckermit.ini dot.kermrc \
|
|
ckermod.ini dot.mykermrc \
|
|
ckurzsz.ini dot.rzszkermrc \
|
|
ckermit.kdd dot.kdd \
|
|
ckermit.knd dot.knd \
|
|
ckermit.ksd dot.ksd \
|
|
ckedemo.ksc ckedemo.ksc \
|
|
ckepage.ksc ckepage.ksc \
|
|
ckevt.ksc ckevt.ksc \
|
|
iksdpy iksdpy ; \
|
|
while [ $$# -gt 1 ] ; \
|
|
do \
|
|
file=$$1; dst=$$2 ; shift ; shift ; \
|
|
echo Installing $${file} as ${PREFIX}/share/examples/kermit/$${dst} ... ; \
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/share/examples/kermit/$${dst}; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|