aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fribidi/Makefile
blob: c0a4b10acb68617298ca1b4c30d9f565e2d1d2c5 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   fribidi
PORTVERSION=    0.19.2
PORTREVISION=   1
CATEGORIES= converters
MASTER_SITES=   http://fribidi.org/download/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A Free Implementation of the Unicode Bidirectional Algorithm

USE_GMAKE=  yes
USES=   pathfix
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-glib

MAN3=       fribidi_charset_to_unicode.3 fribidi_debug_status.3 \
        fribidi_get_bidi_type.3 fribidi_get_bidi_type_name.3 \
        fribidi_get_bidi_types.3 fribidi_get_joining_type.3 \
        fribidi_get_joining_type_name.3 fribidi_get_joining_types.3 \
        fribidi_get_mirror_char.3 fribidi_get_par_direction.3 \
        fribidi_get_par_embedding_levels.3 fribidi_get_type.3 \
        fribidi_get_type_internal.3 fribidi_join_arabic.3 \
        fribidi_log2vis.3 fribidi_log2vis_get_embedding_levels.3 \
        fribidi_mirroring_status.3 fribidi_parse_charset.3 \
        fribidi_remove_bidi_marks.3 fribidi_reorder_line.3 \
        fribidi_reorder_nsm_status.3 fribidi_set_debug.3 \
        fribidi_set_mirroring.3 fribidi_set_reorder_nsm.3 \
        fribidi_shape.3 fribidi_shape_mirroring.3 \
        fribidi_unicode_to_charset.3 fribidi_unicode_version.3 \
        fribidi_version_info.3

.include <bsd.port.pre.mk>

.if !defined(WITH_DEBUG)
CONFIGURE_ARGS+=--disable-debug
.endif

post-patch:
    @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \
            ${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config

post-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/fribidi-config ${PREFIX}/bin

.include <bsd.port.post.mk>