15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
38 lines
952 B
Makefile
38 lines
952 B
Makefile
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lisaem
|
|
DISTVERSION= 1.2.6
|
|
PORTREVISION= 8
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://lisaem.sunder.net/downloads/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Apple Lisa 2 Emulator
|
|
|
|
BUILD_DEPENDS= pngtopnm:${PORTSDIR}/graphics/netpbm
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
USES= tar:bzip2
|
|
USE_WX= 2.8
|
|
WX_UNICODE= yes
|
|
|
|
DESKTOP_ENTRIES="LisaEm" "" "${DATADIR}/lisa2icon.xpm" "${PORTNAME}" "" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|%%PREFIX%%|${PREFIX}|g ; \
|
|
s|%%WX_CONFIG%%|${WX_CONFIG}|g' ${WRKSRC}/build.sh
|
|
|
|
do-build:
|
|
${FIND} ${WRKSRC} -type l -delete
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build.sh build
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} lisaem ${STAGEDIR}${PREFIX}/bin)
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/resources && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR})
|
|
${LN} -sf lisaem ${STAGEDIR}${PREFIX}/share/LisaEm
|
|
|
|
.include <bsd.port.mk>
|