aboutsummaryrefslogtreecommitdiffstats
path: root/german/dict/Makefile
blob: 363671d7acf5de7d8cb90653c0fed7f010c7dd47 (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
27
28
29
30
31
# Created by: wosch
# $FreeBSD$

PORTNAME=   dict
PORTVERSION=    1.2
CATEGORIES= german
MASTER_SITES=   http://wolfram.schneider.org/src/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${dict}.gz
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple English/German dictionary

LICENSE=    BSD2CLAUSE

RUN_DEPENDS=    agrep:textproc/agrep

NO_BUILD=   yes
PLIST_FILES=    bin/de-dict share/ger-eng.txt
dict=       ger-eng.txt

post-extract: ${dict}

${dict}:
    ${GZCAT} < ${DISTDIR}/${dict}.gz > ${WRKSRC}/${.TARGET}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/dict.sh ${STAGEDIR}${PREFIX}/bin/de-dict
    ${INSTALL_DATA} ${WRKSRC}/ger-eng.txt ${STAGEDIR}${PREFIX}/share

.include <bsd.port.mk>