aboutsummaryrefslogtreecommitdiffstats
path: root/converters/libutf-8/Makefile
blob: 64f859e08d551a930fe59709ce38e7a192f89498 (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
# New ports collection makefile for:    libutf-8
# Version required:         1.0
# Date created:             1 April 1999
# Whom:                 G. Adam Stanislav <adam@whizkidtech.net>
#
# $Id$
#

DISTNAME=   libutf-8-1.0
PKGNAME=    libutf-8.1.0
CATEGORIES= converters
MASTER_SITES=   http://www.whizkidtech.net/fports/ \
        ftp://ftp.whizkidtech.net/unix/ \
        http://www.whizkidtech.net/ISO-8859-2/

MAINTAINER= adam@whizkidtech.net

MAN3=       libutf-8.3 fgetu8.3 fputu8.3 sgetu8.3 sputu8.3

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libutf-8.so.1 ${PREFIX}/lib
    ln -fs ${PREFIX}/lib/libutf-8.so.1 ${PREFIX}/lib/libutf-8.so
    ${INSTALL_DATA} ${WRKSRC}/utf-8.h ${PREFIX}/include
    $(INSTALL_MAN) ${WRKSRC}/libutf-8.3 ${PREFIX}/man/man3
    $(INSTALL_MAN) ${WRKSRC}/fgetu8.3 ${PREFIX}/man/man3
    $(INSTALL_MAN) ${WRKSRC}/fputu8.3 ${PREFIX}/man/man3
    $(INSTALL_MAN) ${WRKSRC}/sgetu8.3 ${PREFIX}/man/man3
    $(INSTALL_MAN) ${WRKSRC}/sputu8.3 ${PREFIX}/man/man3

post-install:
    ${SETENV} OBFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>