aboutsummaryrefslogtreecommitdiffstats
path: root/korean/engdic/Makefile
blob: 2ce07b74001008a0a673f50d7f070d4a510a31f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Oh Junseon <hollywar@mail.holywar.net>
# $FreeBSD$

PORTNAME=   engdic
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= korean deskutils
MASTER_SITES=   ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    English dictionary utility for Korean

ALL_TARGET= clean all
PLIST_FILES=    bin/edic bin/engdic
PORTDATA=   [a-z].dic.gz

post-patch:
    ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/engdic.h

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/engdic ${PREFIX}/bin
    ${LN} -sf ${PREFIX}/bin/engdic ${PREFIX}/bin/edic
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/data/[a-z].dic.gz ${DATADIR}

.include <bsd.port.mk>