summaryrefslogtreecommitdiff
path: root/games/actx/Makefile
blob: 2ef0838eaa7fdb0ee717c6d5a39cfda7c2bda642 (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
39
40
41
42
43
# New ports collection makefile for:   actx
# Date created:        19 Feb 1999
# Whom:                Shinya Esu <esu@yk.rim.or.jp>
#
# $FreeBSD$
#

PORTNAME=	actx
PORTVERSION=	0.99.2
CATEGORIES=	games
MASTER_SITES=	http://www.astr.tohoku.ac.jp/~taji/ActX/

MAINTAINER=	esu@yk.rim.or.jp

USE_IMAKE=	yes
USE_XPM=	yes
NO_INSTALL_MANPAGES=yes
NO_CDROM=	'contains commercial character data'
ACTXDIR=	${PREFIX}/share/examples/actx

post-extract:
	@ ${CP} ${WRKSRC}/samples/Imakefile ${WRKSRC}
	@ ${CP} ${WRKSRC}/samples/sample.actxrc ${WRKSRC}/install.actxrc

post-patch:
.for i in install.actxrc samples/sample.actxrc
	@ ${MV} ${WRKSRC}/$i ${WRKSRC}/$i.old
	@ ${SED} -e "s#%%ACTXDIR%%#${ACTXDIR}#" ${WRKSRC}/$i.old > ${WRKSRC}/$i
.endfor

post-install:
.for i in sample.Xdefaults sample.actxrc
	@ ${INSTALL_DATA} ${WRKSRC}/samples/$i ${ACTXDIR}
.endfor
.if !defined(NOPORTDOCS)
.for i in doc/ForDevelloper.jis README.jis
	@ ${MKDIR} ${PREFIX}/share/doc/ja/actx
	@ ${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/share/doc/ja/actx
.endfor
.endif
	@ ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>