1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/chinese/autoconvert/Makefile
Kirill Ponomarev 63bf19aff0 - Fix build on -current
PR:		58084
Submitted by:	maintainer
2003-10-16 08:41:33 +00:00

35 lines
905 B
Makefile

# 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.13
CATEGORIES= chinese
MASTER_SITES= ftp://banyan.dlut.edu.cn/pub/PEOPLE/saka/
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= Intelligent Chinese encoding converter
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
CFLAGS+= ${CPPFLAGS}
MAKE_ENV= CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
INSTALLS_SHLIB= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
.for dir in hzconvert contrib/xchat-plugins
@${REINPLACE_CMD} -e "s|^CFLAGS|#CLFAGS|" ${WRKSRC}/${dir}/Makefile
.endfor
pre-install:
@${MKDIR} ${DATADIR}
.for i in ChangeLog LICENSE Readme TODO Thanks Version hz.txt procmailrc.example shed.big5 shed.gb shed.uni shed.utf7 shed.utf8
@${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
.endfor
.include <bsd.port.mk>