# New ports collection makefile for: autoconvert # Date created: 26 Oct 1999 # Whom: Yin-Jieh Chen # # $FreeBSD$ # PORTNAME= autoconvert PORTVERSION= 0.3.13 CATEGORIES= chinese MASTER_SITES= http://people.debian.org/~ygh/ 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