PORTNAME= hmconv PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= korean mail MASTER_SITES= http://ftp.kaist.ac.kr/hangul/code/hmconv/ \ ftp://ftp.kaist.ac.kr/hangul/code/hmconv/ \ ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/ DISTNAME= hmconv1.0pl3 MAINTAINER= ports@FreeBSD.org COMMENT= Hangul code conversion utility for E-mail PLIST_FILES= bin/hmailedit bin/hmconv PORTDOCS= CHANGES README* WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|^HEDITOR=.*|HEDITOR=$$EDITOR|' \ ${WRKSRC}/hmailedit do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/hmconv ${WRKSRC}/hmconv1.0pl3.c do-install: ${INSTALL_SCRIPT} ${WRKSRC}/hmailedit ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/hmconv ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include