summaryrefslogtreecommitdiff
path: root/german/ding/Makefile
blob: 0b3a6e45e2408f4fc9b23cc84217f8be4a440100 (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
32
# New ports collection makefile for:	ding
# Date created:							5/25/2001
# Whom:									n@nectar.com
#
# $FreeBSD$
#

PORTNAME=		ding
PORTVERSION=	1.1
CATEGORIES=		german
MASTER_SITES=	http://cgi.tu-chemnitz.de/ftp-home/pub/Local/urz/ding/ \
				ftp://ftp.tu-chemnitz.de/pub/Local/urz/ding/
EXTRACT_SUFX=	.tgz

MAINTAINER=		nectar@FreeBSD.ORG

RUN_DEPENDS=	wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
				agrep:${PORTSDIR}/textproc/agrep

USE_X_PREFIX=	yes

do-build:
	${SED} -E -e '1,/^exec/ s!wish!wish8.3!' \
	  -e 's!/usr/dict/ger-eng.txt!${PREFIX}/share/ding/ger-eng.txt!' \
	  ${WRKSRC}/ding > ${WRKSRC}/dingX

do-install:
	${MKDIR} ${PREFIX}/share/ding
	${INSTALL_SCRIPT} ${WRKSRC}/dingX ${PREFIX}/bin/ding
	${INSTALL_DATA} ${WRKSRC}/ger-eng.txt ${PREFIX}/share/ding/ger-eng.txt

.include <bsd.port.mk>