o Correct dependency.
o QKMJ support TERM=vt100 only. In this version, at the first time it starts, wrong TERM will create bogus ~/.terminfo. Try my best to avoid this.
This commit is contained in:
parent
2b2ae9159c
commit
ff9fa395e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60798
2 changed files with 6 additions and 4 deletions
|
@ -19,7 +19,7 @@ MAINTAINER= clive@FreeBSD.org
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
RUN_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
|
||||
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
@ -27,8 +27,10 @@ NO_BUILD= yes
|
|||
NO_CDROM= 'Do not sell for profit.'
|
||||
|
||||
do-install:
|
||||
${INSTALL} -c ${DISTDIR}/${DISTNAME} ${PREFIX}/bin/${DISTNAME}
|
||||
@${LN} -s ${PREFIX}/bin/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL} -c ${DISTDIR}/${DISTNAME} ${PREFIX}/libexec/${DISTNAME}
|
||||
@${ECHO} '#!/bin/sh' > ${PREFIX}/bin/${PORTNAME}
|
||||
@${ECHO} env TERM=vt100 ${PREFIX}/libexec/${DISTNAME} >> ${PREFIX}/bin/${PORTNAME}
|
||||
@${CHMOD} +x ${PREFIX}/bin/${PORTNAME}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
bin/qkmj95p5-freebsd
|
||||
libexec/qkmj95p5-freebsd
|
||||
bin/qkmj
|
||||
|
|
Loading…
Reference in a new issue