1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/korean/hmconv/Makefile
2014-02-20 14:48:11 +00:00

35 lines
920 B
Makefile

# Created by: Junho CHOI <junho.choi@gmail.com>
# $FreeBSD$
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
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>