summaryrefslogtreecommitdiffstats
path: root/lang/io/Makefile.addons
blob: 46038a7dd4c1119340c43304c81addb7870ebf17 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#
# These do not require additional dependencies
#
DEFAULT_ADDONS=	AsyncRequest \
		Bitly \
		Blowfish \
		Box \
		CGI \
		ContinuedFraction \
		Curses \
		DistributedObjects \
		Facebook \
		Flux \
		Fnmatch \
		GoogleSearch \
		HttpClient \
		Loki \
		MD5 \
		NotificationCenter \
		Obsidian \
		Random \
		Range \
		Rational \
		SGML \
		SHA1 \
		SecureSocket \
		SqlDatabase \
		Syslog \
		SystemCall \
		Thread \
		Twitter \
		User \
		VertexDB \
		Volcano \
		Zlib

#
# These DO require additional dependencies
#
OPTIONAL_ADDONS=BigNum \
		CFFI \
		Clutter \
		DBI \
		EditLine \
		Font \
		GLFW \
		Image \
		LZO \
		LibSndFile \
		Libxml2 \
		Loudmouth \
		Memcached \
		MySQL \
		Ogg \
		OpenGL \
		PostgreSQL \
		Python \
		QDBM \
		ReadLine \
		Regex \
		SQLite3 \
		SampleRateConverter \
		Socket \
		TagLib \
		Theora \
		TokyoCabinet \
		UUID \
		Vorbis \
		Yajl

OPTIONS_GROUP_ADDONS=${OPTIONAL_ADDONS}

BigNum_LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
CFFI_LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
Clutter_LIB_DEPENDS=	libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter
DBI_LIB_DEPENDS=	libdbi.so:${PORTSDIR}/databases/libdbi
EditLine_USES=		libedit
Font_LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
Font_USE=		GL=glut XORG=xmu
GLFW_LIB_DEPENDS=	libglfw.so.0:${PORTSDIR}/graphics/glfw2
Image_LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
			libtiff.so:${PORTSDIR}/graphics/tiff
Image_USES=		jpeg
LZO_LIB_DEPENDS=	liblzo2.so:${PORTSDIR}/archivers/lzo2
LibSndFile_LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
Libxml2_USE=		GNOME=libxml2
Loudmouth_LIB_DEPENDS=	libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
Memcached_LIB_DEPENDS=	libmemcached.so:${PORTSDIR}/databases/libmemcached
MySQL_USE=		MYSQL=client
Ogg_LIB_DEPENDS=	libogg.so:${PORTSDIR}/audio/libogg
OpenGL_USE=		GL=glut XORG=xmu
PostgreSQL_USES=	pgsql
Python_USES=		python
QDBM_LIB_DEPENDS=	libqdbm.so:${PORTSDIR}/databases/qdbm
ReadLine_USES=		readline:port
Regex_LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
SQLite3_USE=		SQLITE=3
SampleRateConverter_LIB_DEPENDS=\
			libsamplerate.so:${PORTSDIR}/audio/libsamplerate
Socket_LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
TagLib_LIB_DEPENDS=	libtag.so:${PORTSDIR}/audio/taglib
Theora_LIB_DEPENDS=	libtheora.so:${PORTSDIR}/multimedia/libtheora
TokyoCabinet_LIB_DEPENDS=	\
			libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
UUID_LIB_DEPENDS=	libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
Vorbis_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
Yajl_LIB_DEPENDS=	libyajl.so:${PORTSDIR}/devel/yajl

.include <bsd.port.options.mk>

########################################
# WE NOW DEFINE THE FULL LIST OF ADDONS
#
.for def in ${DEFAULT_ADDONS}
PLIST_SUB+=	${def}=""
.endfor
ADDONS=		${DEFAULT_ADDONS}
.for opt in ${OPTIONS_GROUP_ADDONS}
.  if ${PORT_OPTIONS:M${opt}}
ADDONS+=	${opt}
.  endif
.endfor
OpenPOWER on IntegriCloud