aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/teckit/Makefile
blob: 74933b821e86b3f01a481e0bb361d6f47cf01f15 (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
# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$

PORTNAME=   teckit
PORTVERSION=    2.5.1
PORTREVISION=   1
CATEGORIES= textproc converters
MASTER_SITES=   http://scripts.sil.org/svn-view/teckit/TAGS/ \
        http://anthesphoria.net/FreeBSD/ports/distfiles/
DISTNAME=   TECkit_${PORTVERSION:S|.|_|g}

MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT=    Toolkit for converting data between 8-bit legacy encodings and Unicode

LIB_DEPENDS=    libexpat.so:textproc/expat2

USES=       libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

DOCS=       AUTHORS README NEWS docs/*.pdf license/LICENSING.txt

OPTIONS_DEFINE= DOCS

post-patch:
    ${CHMOD} ${BINMODE} ${WRKSRC}/configure ${WRKSRC}/install-sh

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>