diff options
author | beat <beat@FreeBSD.org> | 2009-05-13 03:05:33 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2009-05-13 03:05:33 +0800 |
commit | 2892a3dba4833e49746001ccbba457a9d672ff4e (patch) | |
tree | d6fb1ac66b2329655b2f3718ab84a176bdb19f2d | |
parent | 02ef5cfa0bb0e614787b3b324d6c3cb6ca78e641 (diff) | |
download | freebsd-ports-graphics-2892a3dba4833e49746001ccbba457a9d672ff4e.tar.gz freebsd-ports-graphics-2892a3dba4833e49746001ccbba457a9d672ff4e.tar.zst freebsd-ports-graphics-2892a3dba4833e49746001ccbba457a9d672ff4e.zip |
- Update to 1.6
- Integrate dict file from swissgerman-ding [1]
Approved by: miwi (mentor)
Suggested by: ehaupt (swissgerman-ding maintainer) [1]
-rw-r--r-- | german/ding/Makefile | 14 | ||||
-rw-r--r-- | german/ding/distinfo | 6 | ||||
-rw-r--r-- | german/ding/pkg-plist | 1 |
3 files changed, 15 insertions, 6 deletions
diff --git a/german/ding/Makefile b/german/ding/Makefile index abee6e81035..97f088ef0db 100644 --- a/german/ding/Makefile +++ b/german/ding/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ding -PORTVERSION= 1.5 -PORTREVISION= 2 +PORTVERSION= 1.6 CATEGORIES= german tk MASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/ding/ @@ -17,19 +16,28 @@ COMMENT= A German-English dictionary program for X windows/Unix RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \ agrep:${PORTSDIR}/textproc/agrep +USE_PERL5= yes + MAN1= ding.1 +DICTFILE= de-en.txt +SWISSDICT= de_ch-en.txt + 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 + @${CP} ${WRKSRC}/${DICTFILE} ${WRKSRC}/${SWISSDICT} + ${PERL5} -pi.orig -e '$${sz}="\x{009F}"; s/Ã$${sz}/ss/g' \ + ${WRKSRC}/${SWISSDICT} 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}/${DICTFILE} ${PREFIX}/share/ding/de-en.txt + ${INSTALL_DATA} ${WRKSRC}/${SWISSDICT} ${PREFIX}/share/ding ${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 diff --git a/german/ding/distinfo b/german/ding/distinfo index b872c474bab..63500e563a1 100644 --- a/german/ding/distinfo +++ b/german/ding/distinfo @@ -1,3 +1,3 @@ -MD5 (ding-1.5.tar.gz) = 74c2b3104f8732107c23c005b64d5609 -SHA256 (ding-1.5.tar.gz) = d873ecd21405529d5b97aa1e98e9dd03283419ec41a6a13507507597fcc667af -SIZE (ding-1.5.tar.gz) = 2870192 +MD5 (ding-1.6.tar.gz) = 6f336c9b66f37c99b98e13659b493d54 +SHA256 (ding-1.6.tar.gz) = 41ba23e6ccf390e3eb094e4a82eebcdbeb9b4427a05173e7278aabf2ac222953 +SIZE (ding-1.6.tar.gz) = 3548804 diff --git a/german/ding/pkg-plist b/german/ding/pkg-plist index 76c008c1b9a..98a05d4f561 100644 --- a/german/ding/pkg-plist +++ b/german/ding/pkg-plist @@ -1,5 +1,6 @@ bin/ding %%DATADIR%%/ding.png %%DATADIR%%/ding.desktop +%%DATADIR%%/de_ch-en.txt %%DATADIR%%/de-en.txt @dirrm share/ding |