summaryrefslogtreecommitdiff
path: root/japanese/jyuroku/Makefile
blob: 790e9e9b9cde6d62394fcd216fb743bc2d50a82d (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
PORTREVISION=	1
CATEGORIES=	japanese
MASTER_SITES=	http://homepage3.nifty.com/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>