aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/oleo/Makefile
blob: 8621b7aaef6f4c98073d04f41b5b4b8adb3049b6 (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
# New ports collection makefile for:    ja-oleo
# Date created:     2 March 1997
# Whom:         Yoshiro MIHIRA
#
# $FreeBSD$
#

PORTNAME=   oleo
PORTVERSION=    1.6
CATEGORIES= japanese math
MASTER_SITES=   http://www.hh.iij4u.or.jp/~hayasida/oleo/ \
        ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= oleo
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${PORTNAME}-doc.tar.gz

PATCH_SITES=    http://www.hh.iij4u.or.jp/%7Ehayasida/oleo/
PATCHFILES= ${DISTNAME}-${PORTVERSION}jb2.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER=    sanpei@FreeBSD.org

# xmkmf is for configure script, not for USE_IMAKE.
BUILD_DEPENDS=  xmkmf:${PORTSDIR}/devel/imake-4

CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
GNU_CONFIGURE=yes
USE_XLIB=      yes

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/oleo/ja_JP.EUC
    @${INSTALL_DATA} ${WRKDIR}/USING.eucJP ${PREFIX}/share/doc/oleo/ja_JP.EUC/
.endif

.include <bsd.port.mk>