blob: f3f3272db763f76754226a6cd88a3ba428df3b22 (
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
|
# New ports collection makefile for: enchant
# Date created: 03 January 2004
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= enchant
PORTVERSION= 1.1.3
PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= abiword
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dictionary/spellchecking framework
USE_GMAKE= yes
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack gnomeprefix gnometarget glib20 lthack
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= enchant.1
.ifndef(WITHOUT_ASPELL)
LIB_DEPENDS+= pspell.15:${PORTSDIR}/textproc/aspell
PLIST_SUB+= ASPELL=""
.else
PLIST_SUB+= ASPELL="@comment "
.endif
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/hspell)
WITH_HSPELL= yes
.endif
.if defined(WITH_HSPELL)
BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell
PLIST_SUB+= HSPELL=""
.else
PLIST_SUB+= HSPELL="@comment "
.endif
pre-everything::
.if !defined(WITHOUT_ASPELL) || !defined(WITH_HSPELL)
@${ECHO_CMD} '===> The following options are available for this port:'
.if !defined(WITHOUT_ASPELL)
@${ECHO_CMD} '===>'
@${ECHO_CMD} '===> Define WITHOUT_ASPELL to disable aspell support'
.endif
.if !defined(WITH_HSPELL)
@${ECHO_CMD} '===>'
@${ECHO_CMD} '===> Define WITH_HSPELL to enable hspell (Hebrew) support'
.endif
.endif
.include <bsd.port.post.mk>
|