diff options
author | Clive Lin <clive@FreeBSD.org> | 2002-06-07 19:55:57 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2002-06-07 19:55:57 +0000 |
commit | ff9fa395e109a82750855b376b901ad038621e16 (patch) | |
tree | b8f290ec2fa519a751bfefa6d5d92ef6934fb2b4 /games/qkmj | |
parent | 2b2ae9159cc4da1732d103c87d8767b94e11314f (diff) | |
download | ports-ff9fa395e109a82750855b376b901ad038621e16.tar.gz ports-ff9fa395e109a82750855b376b901ad038621e16.zip |
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.
Notes
Notes:
svn path=/head/; revision=60798
Diffstat (limited to 'games/qkmj')
-rw-r--r-- | games/qkmj/Makefile | 8 | ||||
-rw-r--r-- | games/qkmj/pkg-plist | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/games/qkmj/Makefile b/games/qkmj/Makefile index 3377a65cc025..3e062b7b3529 100644 --- a/games/qkmj/Makefile +++ b/games/qkmj/Makefile @@ -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> diff --git a/games/qkmj/pkg-plist b/games/qkmj/pkg-plist index 8b5ccc2b4545..b6c852d91ada 100644 --- a/games/qkmj/pkg-plist +++ b/games/qkmj/pkg-plist @@ -1,2 +1,2 @@ -bin/qkmj95p5-freebsd +libexec/qkmj95p5-freebsd bin/qkmj |