aboutsummaryrefslogtreecommitdiff
path: root/japanese/word/Makefile
blob: f612854e2eaa649154636391576f0fd75c8de294 (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: word
# Date created:		30 August 1999
# Whom:			sada
#
# $FreeBSD$
#

PORTNAME=	word
PORTVERSION=	0.99.22
CATEGORIES=	japanese
MASTER_SITES=	http://www.linet.gr.jp/~mituiwa/

MAINTAINER=	sada@FreeBSD.ORG

FORBIDDEN=	"distfile is not available"
USE_GNOMENG=	yes
USE_GNOME=	gtk12

DOCDIR=		${PREFIX}/share/doc/ja-word
EXAMPLEDIR=	${PREFIX}/share/examples/ja-word

do-build:
	(cd ${WRKSRC}; \
	 ${CC} -o word `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs` word.c )

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/word ${PREFIX}/bin
	${MKDIR} ${DOCDIR}
.for i in Changes LICENSE README
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}
.endfor
	${MKDIR} ${EXAMPLEDIR}
.for i in default-wordfontrc ricoh-VFlib.ps ricoh-wordfontrc vine-VFlib.ps vine-wordfontrc
	${INSTALL_DATA} ${WRKSRC}/config/$i ${EXAMPLEDIR}
.endfor

.include <bsd.port.mk>