mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: ding
|
|
# Date created: 5/25/2001
|
|
# Whom: n@nectar.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ding
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= german tk84
|
|
MASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/ding/
|
|
|
|
MAINTAINER= beat@chruetertee.ch
|
|
COMMENT= A German-English dictionary program for X windows/Unix
|
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
|
|
agrep:${PORTSDIR}/textproc/agrep
|
|
|
|
MAN1= ding.1
|
|
USE_X_PREFIX= yes
|
|
|
|
do-build:
|
|
${SED} -E -e '1,/^exec/ s!wish!wish8.4!' \
|
|
-e 's!/usr/share/dict/de-en.txt!${PREFIX}/share/ding/de-en.txt!' \
|
|
${WRKSRC}/ding > ${WRKSRC}/dingX
|
|
${SED} -E -e 's!/usr/share/bin/!${PREFIX}/bin/!' \
|
|
${WRKSRC}/ding.desktop > ${WRKSRC}/ding.desktop.sed
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/ding
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dingX ${PREFIX}/bin/ding
|
|
${INSTALL_DATA} ${WRKSRC}/de-en.txt ${PREFIX}/share/ding/de-en.txt
|
|
${INSTALL_DATA} ${WRKSRC}/ding.png ${PREFIX}/share/ding/ding.png
|
|
${INSTALL_DATA} ${WRKSRC}/ding.desktop.sed ${PREFIX}/share/ding/ding.desktop
|
|
${INSTALL_MAN} ${WRKSRC}/ding.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|