aboutsummaryrefslogtreecommitdiff
path: root/palm/pose/Makefile
blob: 70b250b85a2e412c54056b5feb6e7653fa74cdcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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=	9
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=	ports@FreeBSD.org
COMMENT=	Palm OS(R) Emulator

LIB_DEPENDS=	fltk.1:${PORTSDIR}/x11-toolkits/fltk

USE_GL=		yes
USE_PERL5_BUILD=yes
WRKSRC=		${WRKDIR}/Emulator_Src_${PORTVERSION}/BuildUnix
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-x --with-fltk=${LOCALBASE}
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
		CFLAGS=-DBROKEN_VIRTUAL_DEFAULT_ARGUMENTS=1 \
		LIBS="${PTHREAD_LIBS}"
MAKE_JOBS_SAFE=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=		Does not compile on !i386
.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>