blob: 25292b6e16f04804b30bb38b69c89ecd87f66d8e (
plain)
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
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.4 2012/10/06 14:25:14 asau Exp $
#
DISTNAME= multiskkserv-20100128-ac
PKGNAME= ${DISTNAME:S/-ac//}
CATEGORIES= inputmethod japanese
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://github.com/sina-ht/multiskkserv/
COMMENT= Simple skk multi-dictionary server
LICENSE= gnu-gpl-v2
DEPENDS= skk-jisyo-cdb-[0-9]*:../../inputmethod/skk-jisyo-cdb
FIND_PREFIX:= SKKJISYOCDBDIR=skk-jisyo-cdb
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= ${DOCSDIR}
INSTALL_DOCS= README \
README.j
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
RCD_SCRIPTS= multiskkserv
FILES_SUBST= SKKJISYOCDBDIR=${SKKJISYOCDBDIR}
post-install:
.for filename in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${filename} ${DESTDIR}/${DOCSDIR}
.endfor
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's/-D_REENTRANT/${PTHREAD_CFLAGS}/g'
SUBST_SED.pthread+= -e 's/-lpthread/${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}/g'
.include "../../mk/find-prefix.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|