1999-03-07 00:23:17 +00:00
|
|
|
# New ports collection makefile for: actx
|
|
|
|
# Date created: 19 Feb 1999
|
|
|
|
# Whom: Shinya Esu <esu@yk.rim.or.jp>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1999-03-07 00:23:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:45:49 +00:00
|
|
|
PORTNAME= actx
|
|
|
|
PORTVERSION= 0.99.2
|
1999-03-07 00:23:17 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.astr.tohoku.ac.jp/~taji/ActX/
|
|
|
|
|
|
|
|
MAINTAINER= esu@yk.rim.or.jp
|
|
|
|
|
|
|
|
LIB_DEPENDS+= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_IMAKE= 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:
|
1999-10-10 19:44:26 +00:00
|
|
|
.for i in install.actxrc samples/sample.actxrc
|
1999-03-07 00:23:17 +00:00
|
|
|
@ ${MV} ${WRKSRC}/$i ${WRKSRC}/$i.old
|
|
|
|
@ ${SED} -e "s#%%ACTXDIR%%#${ACTXDIR}#" ${WRKSRC}/$i.old > ${WRKSRC}/$i
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
1999-10-10 19:44:26 +00:00
|
|
|
.for i in sample.Xdefaults sample.actxrc
|
1999-03-07 00:23:17 +00:00
|
|
|
@ ${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} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|