aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/mldonkey-core/Makefile
blob: 5f26f7494669f2c2ff798b7aa5e98c64a2ae355e (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
# 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

MAINTAINER= piaip@csie.ntu.edu.tw
COMMENT=    Client 'core' for MLDonkey with Traditional Chinese (Big5) support

WITHOUT_GUI=    yes
MASTERDIR=  ${.CURDIR}/../../net-p2p/mldonkey
EXTRA_PATCHES=  ${.CURDIR}/files/patch-driverControlers.ml

WRAPPERPREFIX=  ${.CURDIR}/files/wrapper-prefix
WRAPPER=    ${WRKDIR}/wrapper.sh

# build our own wrapper script
post-patch-script:
    @${MV} -f ${WRAPPER} ${WRAPPER}.orig
    @${CAT} ${WRAPPERPREFIX} ${WRAPPER}.orig > ${WRAPPER}

.include "${MASTERDIR}/Makefile"

# I know this will lead portlint to fail,
# but we have to do so.
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}tw-