aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/autoconvert/Makefile
blob: 6534de2de9e4d88b5d2e520fa186dd4bb218cd73 (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:    autoconvert
# Date created:     26 Oct 1999
# Whom:         Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   autoconvert
PORTVERSION=    0.3.16
CATEGORIES= chinese
MASTER_SITES=   GOOGLE_CODE
PROJECTHOST=    libhz
DISTFILES=  zh-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Intelligent Chinese encoding converter

MAKE_ENV=   CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   yes

post-patch:
    @${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|" \
        ${WRKSRC}/contrib/xchat-plugins/Makefile

pre-install:
    @${MKDIR} ${DATADIR}
.for i in ChangeLog LICENSE Readme TODO Thanks Version
    @${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
.endfor

.include <bsd.port.mk>