diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-15 06:19:17 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-15 06:19:17 +0800 |
commit | 2b8da42224533c49ecb26cf4d356eed7b6a662d1 (patch) | |
tree | f7f14faeca9c3483d4329f518d99620168317865 /textproc/stardict2-dictd_mova/Makefile | |
parent | 984736d027c051372c8f83f1c0c20a23247c2d8b (diff) | |
download | marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar.gz marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar.bz2 marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar.lz marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar.xz marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.tar.zst marcuscom-ports-2b8da42224533c49ecb26cf4d356eed7b6a662d1.zip |
- Move to LOCALBASE to chase stardict2 move to LOCALBASE
Reported by: crsd_ via irc.freenode.org/#FreeBSD-GNOME
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7311 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/stardict2-dictd_mova/Makefile')
-rw-r--r-- | textproc/stardict2-dictd_mova/Makefile | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/textproc/stardict2-dictd_mova/Makefile b/textproc/stardict2-dictd_mova/Makefile new file mode 100644 index 000000000..f5bec3499 --- /dev/null +++ b/textproc/stardict2-dictd_mova/Makefile @@ -0,0 +1,77 @@ +# Ports collection makefile for: stardict-dictd_www.mova.org +# Date created: 16 Dec 2004 +# Whom: Timur I. Bakeyev <timur@gnome.org> +# $FreeBSD$ +# + +PORTNAME= stardict +PORTVERSION= 2.4.2 +PORTREVISION= 2 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= stardict +PKGNAMESUFFIX= -dictd_mova +DIST_SUBDIR= stardict + +MAINTAINER= timur@gnome.org +COMMENT= Dictionaries from www.mova.org for StarDict + +RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2 + +NO_BUILD= yes +USE_BZIP2= yes + +LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} + +DICTDIR= share/gnome/stardict/dic + +DISTSUFFIX= -dictd_www.mova.org + +DICTIONARIES= 1000pbio aviation beslov biology brok_and_efr compbe \ + deutsch engcom ethnographic findict geology_enru geology_ruen \ + idioms korolew_enru korolew_ruen mech mueller7 ozhegov \ + religion sc-abbr \ + sinyagin_abbrev sinyagin_alexeymavrin sinyagin_business \ + sinyagin_computer sinyagin_general_er \ + sinyagin_general_re sinyagin_unsorted \ + slovnyk_be-en slovnyk_be-ru slovnyk_be-uk slovnyk_en-be \ + slovnyk_en-ru slovnyk_en-uk slovnyk_ru-be slovnyk_ru-en \ + slovnyk_ru-uk slovnyk_uk-be slovnyk_uk-en slovnyk_uk-ru \ + smiley sokrat_enru sokrat_ruen swedish teo ushakov \ + zhelezyaki_abbr zhelezyaki_analogs + +.if !defined(DICT_PACK) +OPTIONS= ALL "All dictionaries" on +.for dict in ${DICTIONARIES} +OPTIONS+= ${dict:U:S|-|_|g} "${dict} dictionary" off +.endfor +.endif + +.include <bsd.port.pre.mk> + +.for dict in ${DICTIONARIES} +.if defined(WITH_ALL) || defined(WITH_${dict:U:S|-|_|g}) +INSTALL_DICTIONARIES+= ${dict} +.endif +.endfor + +.for dict in ${INSTALL_DICTIONARIES} +DISTFILES+= ${PORTNAME}${DISTSUFFIX}_${dict}-${PORTVERSION}${EXTRACT_SUFX} +.endfor + +do-build: + @${DO_NADA} + +do-install: + ${MKDIR} ${PREFIX}/${DICTDIR} +.for dict in ${INSTALL_DICTIONARIES} +.for ext in dict.dz idx ifo + ${INSTALL_DATA} \ + ${WRKDIR}/${PORTNAME}${DISTSUFFIX}_${dict}-${PORTVERSION}/${DISTSUFFIX:C|^-||}_${dict}.${ext} \ + ${PREFIX}/${DICTDIR} + @${ECHO_CMD} "${DICTDIR}/${DISTSUFFIX:C|^-||}_${dict}.${ext}" >> ${TMPPLIST} +.endfor +.endfor + @${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST} + +.include <bsd.port.post.mk> |