aboutsummaryrefslogtreecommitdiffstats
path: root/games/qkmj/Makefile
blob: 88a4c655db02c5ea9b037c24f6ad47a0d5b3891e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ports collection makefile for:   qkmj
# Date created:        21 Jan 2001
# Whom:                clive
#
# $FreeBSD$
#

PORTNAME=   qkmj
PORTVERSION=    95p5
CATEGORIES= games chinese
MASTER_SITES=   ftp://ftp.csie.nctu.edu.tw/pub/CSIE/qkmj/
MASTER_SITE_SUBDIR= ${PORTNAME}${PORTVERSION}
DISTNAME=   ${PORTNAME}${PORTVERSION}-freebsd
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER= ports@FreeBSD.org
COMMENT=    QKMJ - QK Ma2Jong4 client

RUN_DEPENDS=    compat4x-i386>=0:${PORTSDIR}/misc/compat4x \
        compat5x-${ARCH}>=0:${PORTSDIR}/misc/compat5x

ONLY_FOR_ARCHS= i386 amd64
IA32_BINARY_PORT=   yes

PLIST_FILES=    libexec/qkmj95p5-freebsd bin/qkmj

NO_WRKSUBDIR=   yes
NO_BUILD=   yes
NO_CDROM=   'Do not sell for profit.'

do-install:
    ${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.mk>