1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/korean/hmconv/Makefile
Dmitry Marakasov 75ce42f49d - Switch to options helpers
- Regenerate patches with `make makepatch`
2016-07-22 09:00:33 +00:00

37 lines
940 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
do-install-DOCS-on:
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>