freebsd-ports/emulators/xmamegui/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

40 lines
884 B
Makefile

# New ports collection makefile for: xmamegui
# Date created: 2007-02-25
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= xmamegui
DISTVERSION= 0.9-1
PORTREVISION= 1
CATEGORIES= emulators java
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= alepulver
MAINTAINER= alepulver@FreeBSD.org
COMMENT= SDLMAME frontend that has been written using Java
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_WRKSUBDIR= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
do-build:
@(${ECHO_CMD} "#!${SH}"; \
${ECHO_CMD} 'exec ${JAVA} -jar ${DATADIR}/${PORTNAME}.jar "$$@"') \
> ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/XMAMEGUI.jar ${DATADIR}/${PORTNAME}.jar
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}/lib
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>