diff options
author | clive <clive@FreeBSD.org> | 2002-06-08 03:55:57 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2002-06-08 03:55:57 +0800 |
commit | ba69562c8e7d09ec10da5edd23c1c176fcdaf19f (patch) | |
tree | d035add3c1519e3ea4be1fdfba07dc8f6c384fe6 /games/qkmj | |
parent | 5a08eda599da869e84c617815fa6599b2e029c8f (diff) | |
download | freebsd-ports-gnome-ba69562c8e7d09ec10da5edd23c1c176fcdaf19f.tar.gz freebsd-ports-gnome-ba69562c8e7d09ec10da5edd23c1c176fcdaf19f.tar.zst freebsd-ports-gnome-ba69562c8e7d09ec10da5edd23c1c176fcdaf19f.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.
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 |