5c6ea7789e
tree...
44 lines
1008 B
Makefile
44 lines
1008 B
Makefile
# $OpenBSD: Makefile,v 1.6 2011/05/04 18:47:17 landry Exp $
|
|
|
|
COMMENT = brick shooter reflexion game
|
|
|
|
V= 1.5.3
|
|
DISTNAME= JBrickShooter_v${V}
|
|
PKGNAME= jbrickshooter-${V}
|
|
CATEGORIES= games java
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
HOMEPAGE= http://code.google.com/p/jbrickshooter/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://jbrickshooter.googlecode.com/files/
|
|
|
|
MODULES= java
|
|
# hardcode version because we can't get JAVA_HOME as NO_BUILD is set
|
|
MODJAVA_VER= 1.7
|
|
MODJAVA_JRERUN= Yes
|
|
|
|
RUN_DEPENDS= java/javaPathHelper
|
|
|
|
NO_REGRESS= Yes
|
|
NO_BUILD= Yes
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
PKG_ARCH= *
|
|
|
|
do-install:
|
|
${SUBST_CMD} -c ${FILESDIR}/jbrickshooter \
|
|
${WRKSRC}/jbrickshooter
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/jbrickshooter
|
|
cp ${WRKSRC}/jbrickshooter.jar ${PREFIX}/share/jbrickshooter
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/jbrickshooter
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jbrickshooter ${PREFIX}/bin/jbrickshooter
|
|
|
|
.include <bsd.port.mk>
|