1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/games/qkmj/Makefile
Rong-En Fan 9f91bcffda - Make it run on amd64 by using compat library
- Use PLIST_FILES

PR:		ports/107129
Submitted by:	rafan
Approved by:	clive (maintainer)
2006-12-24 12:47:51 +00:00

43 lines
1014 B
Makefile

# 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= clive@FreeBSD.org
COMMENT= QKMJ - QK Ma2Jong4 client
ONLY_FOR_ARCHS= i386 amd64
IA32_BINARY_PORT= yes
PLIST_FILES= libexec/qkmj95p5-freebsd bin/qkmj
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
RUN_DEPENDS+= compat4x-i386>=0:${PORTSDIR}/misc/compat4x
.endif
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.post.mk>