summaryrefslogtreecommitdiff
path: root/games/qkmj/Makefile
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-06-07 19:55:57 +0000
committerClive Lin <clive@FreeBSD.org>2002-06-07 19:55:57 +0000
commitff9fa395e109a82750855b376b901ad038621e16 (patch)
treeb8f290ec2fa519a751bfefa6d5d92ef6934fb2b4 /games/qkmj/Makefile
parentUpdate WWW: tag. (diff)
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/Makefile')
-rw-r--r--games/qkmj/Makefile8
1 files changed, 5 insertions, 3 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>