2013-06-21 18:20:19 +00:00
|
|
|
# Created by: Oh Junseon <hollywar@mail.holywar.net>
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1999-06-09 01:30:04 +00:00
|
|
|
|
2000-04-13 09:17:26 +00:00
|
|
|
PORTNAME= engdic
|
|
|
|
PORTVERSION= 0.2
|
2013-08-30 20:00:42 +00:00
|
|
|
PORTREVISION= 1
|
1999-06-09 01:30:04 +00:00
|
|
|
CATEGORIES= korean deskutils
|
2013-08-30 20:00:42 +00:00
|
|
|
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
1999-06-09 01:30:04 +00:00
|
|
|
|
2006-04-05 05:34:21 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-06-21 18:20:19 +00:00
|
|
|
COMMENT= English dictionary utility for Korean
|
1999-06-09 01:30:04 +00:00
|
|
|
|
2013-08-30 22:10:34 +00:00
|
|
|
EXTRACT_AFTER_ARGS= --exclude '*.o'
|
2013-09-03 18:40:12 +00:00
|
|
|
MAKE_ARGS= CC="${CC}"
|
2013-08-30 20:00:42 +00:00
|
|
|
PLIST_FILES= bin/edic bin/engdic
|
|
|
|
PORTDATA= [a-z].dic.gz
|
1999-09-20 00:55:43 +00:00
|
|
|
|
2002-06-04 06:21:58 +00:00
|
|
|
post-patch:
|
2013-08-30 20:00:42 +00:00
|
|
|
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/engdic.h
|
|
|
|
|
|
|
|
do-install:
|
2014-02-20 14:45:46 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/engdic ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${LN} -sf ${PREFIX}/bin/engdic ${STAGEDIR}${PREFIX}/bin/edic
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/[a-z].dic.gz ${STAGEDIR}${DATADIR}
|
2002-06-04 06:21:58 +00:00
|
|
|
|
1999-06-09 01:30:04 +00:00
|
|
|
.include <bsd.port.mk>
|