35c408f36f
- use DATADIR PR: ports/148597 Submitted by: Bapt <baptiste.daroussin@gmail.com> Approved by: maintainer timeout (trasz ; 61 days)
39 lines
1,003 B
Makefile
39 lines
1,003 B
Makefile
# New ports collection makefile for: lisaem
|
|
# Date created: 2007-07-04
|
|
# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lisaem
|
|
DISTVERSION= 1.2.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://lisaem.sunder.net/downloads/
|
|
|
|
MAINTAINER= trasz@FreeBSD.org
|
|
COMMENT= Apple Lisa 2 Emulator
|
|
|
|
BUILD_DEPENDS= pngtopnm:${PORTSDIR}/graphics/netpbm
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_BZIP2= yes
|
|
USE_WX= 2.8
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
|
|
-e "s|wx-config|${WX_CONFIG}|g" ${WRKSRC}/build.sh
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build.sh build
|
|
|
|
do-install:
|
|
@# This file is a symlink to itself; result of mistyped command?
|
|
${RM} -f ${WRKSRC}/resources/resources
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/lisaem ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/share/lisaem
|
|
${INSTALL_DATA} ${WRKSRC}/resources/* ${PREFIX}/share/lisaem/
|
|
${LN} -sf ${PREFIX}/share/lisaem ${PREFIX}/share/LisaEm
|
|
|
|
.include <bsd.port.mk>
|