freebsd-ports/games/actx/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

57 lines
1.4 KiB
Makefile

# New ports collection makefile for: actx
# Date created: 19 Feb 1999
# Whom: Shinya Esu <esu@yk.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= actx
PORTVERSION= 1.23
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://rosegray.sakura.ne.jp/ActX/
MAINTAINER= ports@FreeBSD.org
COMMENT= Window sitter for X11
NO_CDROM= 'contains commercial character data'
USE_IMAKE= yes
USE_XORG= xpm
MAN1= actx.1
MANLANG= "" ja
ACTXDIR= ${PREFIX}/share/examples/actx
post-extract:
@ ${CP} ${WRKSRC}/samples/Imakefile ${WRKSRC}
post-patch:
.for i in samples/sample.actxrc
@ ${MV} ${WRKSRC}/$i ${WRKSRC}/$i.old
@ ${SED} -e "s#%%ACTXDIR%%#${ACTXDIR}#" ${WRKSRC}/$i.old > ${WRKSRC}/$i
.endfor
pre-configure:
@ ${CP} ${WRKSRC}/samples/sample.actxrc ${WRKSRC}/install.actxrc
@ ${CP} ${WRKSRC}/samples/sample.actxrc ${WRKSRC}/install.actxrc-one
post-install:
# strip binary
@${STRIP_CMD} ${PREFIX}/bin/actx
# install japanese manual
@${INSTALL_MAN} ${WRKSRC}/actx.jman ${PREFIX}/man/ja/man1/actx.1
@${GZIP_CMD} ${PREFIX}/man/ja/man1/actx.1
.for i in sample.Xdefaults sample.actxrc
@ ${INSTALL_DATA} ${WRKSRC}/samples/$i ${ACTXDIR}
.endfor
.if !defined(NOPORTDOCS)
.for i in doc/ForDevelloper.jis doc/ManualInstall.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>