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

PORTNAME=   fribidi
PORTVERSION=    0.19.7
CATEGORIES= converters
MASTER_SITES=   http://fribidi.org/download/

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

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gmake libtool pathfix tar:bz2
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-static --without-glib
INSTALL_TARGET= install-strip

.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 ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>