2009-03-15 10:39:02 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2009/03/15 14:39:02 espie Exp $
|
2006-11-13 01:20:17 -05:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= additional games modules for childsplay
|
2006-11-13 01:20:17 -05:00
|
|
|
|
2007-01-26 06:11:26 -05:00
|
|
|
V= 0.85.2
|
2006-12-06 12:43:31 -05:00
|
|
|
DISTNAME= childsplay_plugins-${V}
|
2009-03-15 10:39:02 -04:00
|
|
|
PKGNAME= childsplay-plugins-${V}p1
|
2006-11-13 01:20:17 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
CATEGORIES= games education
|
|
|
|
|
|
|
|
HOMEPAGE= http://childsplay.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=childsplay/}
|
|
|
|
|
|
|
|
MODULES= lang/python
|
2006-11-20 13:31:53 -05:00
|
|
|
RUN_DEPENDS= :childsplay->=0.84:games/childsplay
|
2006-11-13 01:20:17 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g;' \
|
|
|
|
-e 's,!!MODPY_BIN!!,${MODPY_BIN},g;' \
|
|
|
|
-e 's,!!DESTDIR!!,${DESTDIR},g' \
|
|
|
|
${WRKSRC}/install.sh
|
|
|
|
perl -pi -e 's,/usr/local/games,${LOCALBASE}/share,g' \
|
|
|
|
${WRKSRC}/README ${WRKSRC}/README-PACKID
|
|
|
|
cd ${WRKSRC} && /bin/sh install.sh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|