1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/palm/pose/Makefile
Kris Kennaway a33896596d Now buildable on 4.x, still broken on >= 5.x.
Approved by:	portmgr (self)
2005-01-08 08:36:59 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: pose
# Date created: Sat May 6 14:03:08 CEST 2000
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pose
PORTVERSION= 3.5
PORTREVISION= 2
CATEGORIES= palm emulators
MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/ \
http://www.palmos.com/dev/tools/emulator/:skins
DISTFILES= emulator_src_3.5.tar.gz \
emulator-skins-19.tar.gz:skins
MAINTAINER= wlloyd@slap.net
COMMENT= Palm OS(R) Emulator
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_GL= yes
WRKSRC= ${WRKDIR}/Emulator_Src_${PORTVERSION}/BuildUnix
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
--with-x --with-fltk=${X11BASE}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
CFLAGS=-DBROKEN_VIRTUAL_DEFAULT_ARGUMENTS=1 \
LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
.if ${OSVERSION} >= 503000
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-install:
${MKDIR} ${PREFIX}/share/pose
${INSTALL_DATA} "${WRKSRC}/../ROMTransfer/Source/ROM_Transfer.prc" ${PREFIX}/share/pose
@${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE}
${CP} -Rp ${WRKDIR}/Skins_v1.9 ${PREFIX}/share/pose/skins
.include <bsd.port.post.mk>