2004-03-11 04:34:44 +01:00
|
|
|
# New ports collection makefile for: zh-tw-mldonkey
|
|
|
|
# Date created: Wed Mar 10 19:36:06 CST 2004
|
|
|
|
# Whom: Hung-Te Lin
|
|
|
|
# <piaip@csie.ntu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Only core (HTML/telnet) is affected. GUI has no problem with Chinese.
|
|
|
|
|
|
|
|
PORTNAME= mldonkey-core
|
|
|
|
CATEGORIES= chinese
|
|
|
|
|
2007-03-14 09:16:34 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-03-11 04:34:44 +01:00
|
|
|
COMMENT= Client 'core' for MLDonkey with Traditional Chinese (Big5) support
|
|
|
|
|
|
|
|
WITHOUT_GUI= yes
|
2006-01-30 22:36:28 +01:00
|
|
|
MASTERDIR= ${.CURDIR}/../../net-p2p/mldonkey
|
2004-03-11 04:34:44 +01:00
|
|
|
EXTRA_PATCHES= ${.CURDIR}/files/patch-driverControlers.ml
|
|
|
|
|
2006-10-31 02:25:31 +01:00
|
|
|
WRAPPERPREFIX= ${.CURDIR}/files/wrapper-prefix
|
|
|
|
WRAPPER= ${WRKDIR}/wrapper.sh
|
2004-04-05 03:46:28 +02:00
|
|
|
|
|
|
|
# build our own wrapper script
|
|
|
|
post-patch-script:
|
|
|
|
@${MV} -f ${WRAPPER} ${WRAPPER}.orig
|
|
|
|
@${CAT} ${WRAPPERPREFIX} ${WRAPPER}.orig > ${WRAPPER}
|
|
|
|
|
2004-03-11 04:34:44 +01:00
|
|
|
.include "${MASTERDIR}/Makefile"
|
|
|
|
|
2004-04-05 03:46:28 +02:00
|
|
|
# I know this will lead portlint to fail,
|
|
|
|
# but we have to do so.
|
2006-10-31 02:25:31 +01:00
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}tw-
|