blob: 261d902fb6e24e0cbdf375564b304aa50020287f (
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
68
69
70
71
72
73
74
75
76
77
78
|
# New ports collection makefile for: KDE3 Graphics
# Date created: Saturday 2 September 2000
# Whom: Will Andrews <will@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdegraphics
PORTVERSION= ${KDE_VERSION}
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
USE_KDELIBS_VER=3
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if defined(WITH_IMLIB) || defined(KDE_WITH_IMLIB)
USE_GNOMENG= yes
USE_GNOME= imlib
PLIST_SUB+= IMLIB=""
CONFIGURE_ARGS+= --with-imlib-config=${X11BASE}/bin
.else
WITHOUT_IMLIB= yes
PLIST_SUB+= IMLIB="@comment "
CONFIGURE_ARGS+= --without-imlib-config
.endif
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
GPHOTO2_CONFIG= ${LOCALBASE}/bin/gphoto2-config
.if exists(${GPHOTO2_CONFIG})
WITH_GPHOTO2?= yes
.endif
.if defined(WITH_GPHOTO2) && ${WITH_GPHOTO2} == yes
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/gphoto2
PLIST_SUB+= KAMERA=""
.else
PLIST_SUB+= KAMERA="@comment "
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "======================================================="
@${ECHO_MSG} "If you want to compile with digital camera support,"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_GPHOTO2=yes\""
@${ECHO_MSG} "======================================================="
@${ECHO_MSG}
.endif
SANE_CONFIG= ${LOCALBASE}/bin/sane-config
.if exists(${SANE_CONFIG})
WITH_SANE?= yes
.endif
.if defined(WITH_SANE) && ${WITH_SANE} == yes
LIB_DEPENDS+= sane.1:${PORTSDIR}/graphics/sane-backends
PLIST_SUB+= SANE=""
.else
PLIST_SUB+= SANE="@comment "
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "======================================================="
@${ECHO_MSG} "If you want to compile with scanner (SANE) support,"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SANE=yes\""
@${ECHO_MSG} "======================================================="
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>
|