aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/libjconv/files/Makefile.lib
blob: 709ed05f17872dc0626aa4cf2f68f9151ce965be (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
# $FreeBSD$

PREFIX?=    /usr/local
LOCALBASE?= /usr/local

LIB=        jconv
SHLIB_MAJOR?=   0
SHLIB_MINOR?=   0
CFLAGS+=    -Wall -I${LOCALBASE}/include -DPREFIX=${PREFIX}
LDADD=      -liconv -L${LOCALBASE}/lib
SRCS=       conv.c info.c compat.c
INCS=       jconv.h
NOMAN=      YES
LIBDIR=     ${PREFIX}/lib
INCSDIR=    ${PREFIX}/include
INCDIR=     ${INCSDIR}      # for pre-bsd.incs.mk API
ETCDIR=     ${PREFIX}/etc

.include <bsd.lib.mk>

afterinstall:
    mkdir -p ${DESTDIR}/${ETCDIR}/libjconv
    ${INSTALL} -C default.conf ${DESTDIR}/${ETCDIR}/libjconv/