freebsd-ports/chinese/mldonkey-core/Makefile

32 lines
908 B
Makefile

# 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= ports@FreeBSD.org
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-