1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/converters/fribidi/Makefile

50 lines
1.5 KiB
Makefile

# 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
NO_STAGE= yes
.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>