090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
40 lines
884 B
Makefile
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= 2
|
|
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>
|