aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jyuroku/Makefile
blob: 77a21712fa93b9a1e4d777ed8efb94bc284cefeb (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
# New ports collection makefile for:    jyuroku
# Date created:     1 February 2001
# Whom:         Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   jyuroku
PORTVERSION=    1.32
CATEGORIES= japanese
MASTER_SITES=   http://member.nifty.ne.jp/seto-yoneji/
DISTNAME=   ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= yoichi@FreeBSD.org

ALL_TARGET=
USE_X_PREFIX=   yes
USE_GTK=    yes
USE_REINPLACE=  yes

post-patch:
    ${REINPLACE_CMD} -e "s@gcc@${CC}@g; \
            s@-g@${CFLAGS}@g; \
            s@gtk-config@${GTK_CONFIG}@g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/jyuroku ${X11BASE}/bin

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/jyuroku
    ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/jyuroku
.endif

.include <bsd.port.mk>