1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/stardict2-quick/Makefile
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00

84 lines
2.5 KiB
Makefile

# Ports collection makefile for: stardict-quick
# Date created: 16 Dec 2004
# Whom: Timur I. Bakeyev <timur@gnome.org>
#
# $FreeBSD$
#
PORTNAME= stardict
PORTVERSION= 2.4.2
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= stardict
PKGNAMESUFFIX= -quick
DIST_SUBDIR= stardict
MAINTAINER= timur@FreeBSD.org
COMMENT= Dictionaries from Quick for StarDict
RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2
NO_BUILD= yes
USE_BZIP2= yes
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
DICTDIR= share/stardict/dic
DICTIONARIES= afr-eng afr-swe bul-swe dan-deu dan-eng dan-fin dan-fra \
dan-hun dan-ind dan-ita dan-jpn dan-lat dan-nld dan-nor \
dan-por dan-rus dan-spa dan-swa dan-swe deu-dan deu-deu \
deu-eng deu-swe eng-afr eng-dan eng-deu eng-eng eng-fin \
eng-fra eng-gre eng-hun eng-ind eng-ita eng-jpn eng-lat \
eng-nld eng-nor eng-por eng-rus eng-spa eng-swa eng-swe \
esp-swe fin-dan fin-eng fin-swe fra-dan fra-eng fra-swe \
fry-swe gre-eng gre-swe hun-dan hun-eng hun-swe ind-dan \
ind-eng ind-swe isl-swe ita-dan ita-eng ita-swe jpn-dan \
jpn-eng jpn-swe lat-dan lat-eng lat-swe nld-dan nld-eng \
nld-swe nor-dan nor-eng nor-swe pol-swe por-dan por-eng \
por-swe rum-swe rus-dan rus-eng rus-swe slo-swe spa-dan \
spa-eng spa-swe swa-dan swa-eng swa-swe swe-afr swe-bul \
swe-dan swe-deu swe-eng swe-esp swe-fin swe-fra swe-fry \
swe-gre swe-hun swe-ind swe-isl swe-ita swe-jpn swe-lat \
swe-nld swe-nor swe-pol swe-por swe-rum swe-rus swe-slo \
swe-spa swe-swa swe-wel wel-swe
.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}${PKGNAMESUFFIX}_${dict}-${PORTVERSION}${EXTRACT_SUFX}
.endfor
do-build:
@${DO_NADA}
do-install:
@${MKDIR} ${PREFIX}/${DICTDIR}
.for dict in ${INSTALL_DICTIONARIES}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}_${dict}-${PORTVERSION}/* \
${PREFIX}/${DICTDIR}
.endfor
post-install:
.for dict in ${INSTALL_DICTIONARIES}
@cd ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}_${dict}-${PORTVERSION} && \
${FIND} -s . -type f -o -type l | ${SED} -e 's|^\.|${DICTDIR}|' >> ${TMPPLIST}
.endfor
@${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST}
.include <bsd.port.post.mk>