1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/textproc/utf8proc/Makefile
Cheng-Lung Sung bc1b0038da utf8proc is a library for processing UTF-8 encoded Unicode strings.
Some features are Unicode normalization, stripping of default ignorable
characters, case folding and detection of grapheme cluster boundaries.
A special character mapping is available, which converts for example the
characters "Hyphen" (U+2010), "Minus" (U+2212) and
"Hyphen-Minus" (U+002D, ASCII Minus) all into the ASCII minus sign, to
make them equal for comparisons.

WWW:	http://www.flexiguided.de/publications.utf8proc.en.html
2007-10-16 08:39:36 +00:00

29 lines
724 B
Makefile

# New ports collection makefile for: utf8proc
# Date created: 2007-10-15
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= utf8proc
PORTVERSION= 1.1.2
CATEGORIES= textproc devel
MASTER_SITES= http://www.flexiguided.de/pub/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= UTF-8 processing library
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= c-library
USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libutf8proc.so ${PREFIX}/lib/libutf8proc.so.1
${INSTALL_DATA} ${WRKSRC}/libutf8proc.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/utf8proc.h ${PREFIX}/include
${LN} -sf ${PREFIX}/lib/libutf8proc.so.0 ${PREFIX}/lib/libutf8proc.so
.include <bsd.port.mk>