blob: 6c08c7171070e00e3178b623a3d3793cce9dfdd4 (
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
|
PORTNAME= gtkdatabox
DISTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-1
MAINTAINER= eduardo@FreeBSD.org
COMMENT= GTK 3 widget to display large amounts of numerical data
WWW= https://sourceforge.net/projects/gtkdatabox/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
USES= gnome libtool pathfix pkgconfig
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${PREFIX}/include/${PORTNAME}" \
--with-html-dir="${PREFIX}/share/doc"
INSTALL_TARGET= install-strip
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES GLADE
OPTIONS_SUB= yes
GLADE_LIB_DEPENDS= libgladeui-2.so:devel/glade
GLADE_CONFIGURE_ENABLE= glade
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIR/s|examples||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|DOC_MODULE_VERSION = 1|#DOC_MODULE_VERSION = 1|' ${WRKSRC}/doc/Makefile.in
.for dir in examples gtk
@${REINPLACE_CMD} -e \
'/-O2/d ; \
/DISABLE_DEPRECATED/d' ${WRKSRC}/${dir}/Makefile.in
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|