aboutsummaryrefslogtreecommitdiff
path: root/japanese/jyuroku/Makefile
blob: 370b4bd76317f82a64d902a961f1ea11eb1b7b79 (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:	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
COMMENT=	Japanese address book

ALL_TARGET=
USE_X_PREFIX=	yes
USE_GNOME=	gtk12
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>