aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libutf/Makefile
blob: 32647b9d9f12ef8ae3155c8aca7a099afd537de7 (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: Serge Gagnon <gagnon__s@videotron.ca>
# $FreeBSD$

PORTNAME=   libutf
PORTVERSION=    2.10
PORTREVISION=   3
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.cs.yorku.ca/pub/wily/misc/ \
        http://www.westley.demon.co.uk/src/

MAINTAINER= ports@FreeBSD.org
COMMENT=    UTF-8 character set support library, including regular expressions

LICENSE=    BSD4CLAUSE

GNU_CONFIGURE=  yes
MAKE_ARGS=  ETCDIR="${DATADIR}"
ALL_TARGET= tst

PLIST_FILES=    include/ure.h include/utf.h lib/libutf.a \
        man/man3/ure.3.gz man/man3/utf.3.gz %%DATADIR%%/langcoll.utf

do-install:
    ${INSTALL_DATA} ${WRKSRC}/ure.h ${STAGEDIR}${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/utf.h ${STAGEDIR}${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/libutf.a ${STAGEDIR}${PREFIX}/lib
    ${INSTALL_MAN} ${WRKSRC}/utf.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
    ${INSTALL_MAN} ${WRKSRC}/ure.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/langcoll.utf ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>