blob: c99827b084d3fe31f8bcb813122cbac11dd4c587 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: amaya
# Date created: 26 Dec 1998
# Whom: Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#
PORTNAME= amaya
PORTVERSION= 7.2
CATEGORIES= www
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
ftp://ftp.w3.org/pub/amaya/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
DISTFILES= ${DISTNAME}.tgz
DIST_SUBDIR= amaya
MAINTAINER= adam-ports@blacktabby.org
COMMENT= The W3C's testbed web editor/browser
WRKSRC= ${WRKDIR}/Amaya/obj
USE_GNOME= imlib
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-graphic-libs
DICT?= none
.if ${DICT} != "none"
.if ${DICT} == "all"
DISTFILES+= Dutch.tgz
DISTFILES+= English.tgz
DISTFILES+= French.tgz
DISTFILES+= German.tgz
DISTFILES+= Italian.tgz
DISTFILES+= Spanish.tgz
DISTFILES+= Swedish.tgz
.else
DISTFILES+= ${DICT:S/$/.tgz/g}
.endif
.endif
pre-everything::
.if ${DICT} == "none"
@${ECHO_MSG} Several spellchecking dictionaries are available. To use
@${ECHO_MSG} one of them, define DICT to be the appropriate language.
.endif
post-extract:
${MKDIR} ${WRKSRC}
post-install:
${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/Amaya/amaya
.if ${DICT} != "none"
${INSTALL_DATA} ${WRKDIR}/*.dic ${PREFIX}/Amaya/dicopar
${MV} ${TMPPLIST} ${TMPPLIST}.new
cd ${WRKDIR} && ${LS} -1 *.dic | \
${SED} -e 's|^|Amaya/dicopar/|' > ${TMPPLIST}
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
${RM} ${TMPPLIST}.new
.endif
.include <bsd.port.mk>
|