aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/sj3-lib/Makefile
blob: 8faf2c639139c3de0052081121eae70c420b6cd6 (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
36
37
38
39
# New ports collection makefile for:    sj3-lib
# Date created:     18 Aug 1998
# Whom:         Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   sj3
PORTVERSION=    2.0.1.20
PORTREVISION=   7
CATEGORIES= japanese
MASTER_SITES=   LOCAL/nork
PKGNAMESUFFIX=  -lib

PATCH_SITES=    http://quasiquote.org/files/
PATCHFILES= ${PORTNAME}-qq-2.0.1.21.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= hrs@FreeBSD.org
COMMENT=    A Japanese input method, library part

USE_IMAKE=  yes
USE_LDCONFIG=   yes
NO_INSTALL_MANPAGES=    yes
SUB_FILES=  sj3_freebsd.tmpl
SUB_LIST=   DESTDIR=${DESTDIR}

POSTPATCHES=    ${FILESDIR}/post-patch-Imakefile \
        ${FILESDIR}/post-patch-include-Const.h

.include <bsd.port.pre.mk>

post-patch:
    cd ${WRKSRC} && ${CAT} ${POSTPATCHES} | ${PATCH}

pre-configure: apply-slist
    ${INSTALL_DATA} ${WRKDIR}/sj3_freebsd.tmpl ${WRKSRC}/sj3_freebsd.tmpl

.include <bsd.port.post.mk>