2001-01-21 17:08:18 +00:00
|
|
|
# ports collection makefile for: qkmj
|
|
|
|
# Date created: 21 Jan 2001
|
|
|
|
# Whom: clive
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qkmj
|
2002-06-07 19:40:23 +00:00
|
|
|
PORTVERSION= 95p5
|
2001-01-21 17:08:18 +00:00
|
|
|
CATEGORIES= games chinese
|
2002-06-07 19:40:23 +00:00
|
|
|
MASTER_SITES= ftp://ftp.csie.nctu.edu.tw/pub/CSIE/qkmj/
|
2001-01-21 17:08:18 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}${PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}-freebsd
|
|
|
|
EXTRACT_SUFX=
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
MAINTAINER= clive@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= QKMJ - QK Ma2Jong4 client
|
2001-01-21 17:08:18 +00:00
|
|
|
|
2006-12-24 12:47:51 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
IA32_BINARY_PORT= yes
|
|
|
|
|
|
|
|
PLIST_FILES= libexec/qkmj95p5-freebsd bin/qkmj
|
2002-12-05 03:55:33 +00:00
|
|
|
|
2002-06-07 19:40:23 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
2006-12-24 12:47:51 +00:00
|
|
|
RUN_DEPENDS+= compat4x-i386>=0:${PORTSDIR}/misc/compat4x
|
2002-06-07 19:40:23 +00:00
|
|
|
.endif
|
2001-10-23 07:30:48 +00:00
|
|
|
|
2001-01-21 17:08:18 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_CDROM= 'Do not sell for profit.'
|
|
|
|
|
|
|
|
do-install:
|
2002-06-07 19:55:57 +00:00
|
|
|
${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}
|
2001-01-21 17:08:18 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-06-07 19:40:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|