Lines 3-43
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= harfbuzz |
4 |
PORTNAME= harfbuzz |
5 |
PORTVERSION= 1.5.1 |
5 |
PORTVERSION= 1.5.1 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= print |
7 |
CATEGORIES= print |
8 |
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/ |
8 |
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/ |
9 |
|
9 |
|
10 |
MAINTAINER= gnome@FreeBSD.org |
10 |
MAINTAINER= gnome@FreeBSD.org |
11 |
COMMENT?= OpenType text shaping engine |
11 |
COMMENT= OpenType text shaping engine |
12 |
|
12 |
|
13 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
13 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
|
|
14 |
libicudata.so:devel/icu \ |
14 |
libgraphite2.so:graphics/graphite2 |
15 |
libgraphite2.so:graphics/graphite2 |
15 |
|
16 |
|
16 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
17 |
USES= gettext-runtime gmake gnome libtool \ |
18 |
USES= compiler:c++0x gettext-runtime gmake gnome libtool \ |
18 |
pathfix pkgconfig tar:bzip2 |
19 |
pathfix pkgconfig tar:bzip2 |
19 |
USE_GNOME= cairo glib20 introspection:build |
20 |
USE_GNOME= cairo glib20 introspection:build |
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ARGS= --with-graphite2 --with-gobject=yes |
22 |
CONFIGURE_ARGS= --with-graphite2 --with-gobject=yes --with-icu |
22 |
INSTALL_TARGET= install-strip |
23 |
INSTALL_TARGET= install-strip |
23 |
TEST_TARGET= check |
24 |
TEST_TARGET= check |
24 |
|
25 |
|
25 |
PLIST_SUB+= LIBVER=0.10501.0 |
26 |
PLIST_SUB+= LIBVER=0.10501.0 |
26 |
|
27 |
|
27 |
HARFBUZZ_SLAVE?= no |
|
|
28 |
|
29 |
.if ${HARFBUZZ_SLAVE} == no |
30 |
CONFIGURE_ARGS+= --without-icu |
31 |
.else |
32 |
CONFIGURE_ARGS+= --with-icu \ |
33 |
--disable-gtk-doc-html |
34 |
USES+= compiler:c++0x |
35 |
LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ |
36 |
libicudata.so:devel/icu |
37 |
|
38 |
post-patch: |
39 |
${REINPLACE_CMD} -e 's|install-data-am: install-data-local|install-data-am:|g' \ |
40 |
${WRKSRC}/docs/Makefile.in |
41 |
.endif |
42 |
|
43 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |