summaryrefslogtreecommitdiff
path: root/devel/prc-tools/Makefile.common
blob: 73e5d9d89197b29c51c9037af0191d043ce7e7b2 (plain)
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
# $NetBSD: Makefile.common,v 1.2 2001/06/27 05:07:34 jlam Exp $
#

DISTNAME=	prc-tools-${PRC_TOOLS_VERS}
PRC_TOOLS_VERS=	2.0
CATEGORIES=	devel
MASTER_SITES=	http://www.palmos.com/dev/tech/tools/gcc/dist/

MAINTAINER=	dillo@giga.or.at
HOMEPAGE=	http://www.palmos.com/dev/tech/tools/gcc/

#DIST_SUBDIR=	prc-tools

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=--target=m68k-palmos --enable-languages=c,c++ \
		--sharedstatedir=${PREFIX}/share/palmdev
#--with-headers=${WRKSRC}/empty \

USE_GMAKE=	YES

.if defined(BASE_DIST)
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${BASE_DIST}-${BASE_VERS}${EXTRACT_SUFX}
DIFF_FILE=	${BASE_DIST}-${BASE_VERS}.palmos.diff

post-extract:
	cd ${WRKDIR} && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIFF_FILE}
	${LN} -s ../${BASE_DIST}-${BASE_VERS} ${WRKSRC}/${BASE_DIST}
.endif