summaryrefslogtreecommitdiff
path: root/japanese/jyuroku/Makefile
blob: f1cc21ec9a12b113de2c15518286deebe53c6a87 (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
# 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_GNOMENG=	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>