View | Details | Raw Unified | Return to bug 127487
Collapse All | Expand All

(-)Makefile.new (-14 / +3 lines)
Lines 1-45 Link Here
1
# New ports collection makefile for:	urjtag
1
# New ports collection makefile for:	urjtag
2
# Date created:		2008-01-05
2
# Date created:		2008-01-05
3
# Whom:			Bruce M. Simpson
3
# Whom:			Bruce M. Simpson
4
#
4
#
5
# $FreeBSD: ports/devel/urjtag/Makefile,v 1.4 2008/09/07 21:57:18 linimon Exp $
5
# $FreeBSD: ports/devel/urjtag/Makefile,v 1.2 2008/01/18 20:57:55 bms Exp $
6
#
6
#
7
7
8
PORTNAME=	urjtag
8
PORTNAME=	urjtag
9
PORTVERSION=	0.7
9
PORTVERSION=	0.9
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=urjtag
12
MASTER_SITE_SUBDIR=urjtag
14
13
15
MAINTAINER=	stevefranks@ieee.org
14
MAINTAINER=	stevefranks@ieee.org
16
COMMENT=	Extended utility to work with JTAG-aware boards
15
COMMENT=	Extended utility to work with JTAG-aware boards
17
16
18
BUILD_DEPENDS=	${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include
19
RUN_DEPENDS=	${BUILD_DEPENDS}
17
RUN_DEPENDS=	${BUILD_DEPENDS}
20
18
21
USE_BZIP2=	yes
19
USE_BZIP2=	yes
22
USE_GETTEXT=	yes
20
USE_GETTEXT=	yes
21
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
23
25
CONFIGURE_ARGS+= --without-libusb --without-libftdi --without-ftd2xx \
26
		 --disable-nls
27
CONFIGURE_ENV+=	CFLAGS=--std=c99
24
CONFIGURE_ENV+=	CFLAGS=--std=c99
28
25
29
OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince
30
OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h
31
32
MAN1=		jtag.1 bsdl2jtag.1
26
MAN1=		jtag.1 bsdl2jtag.1
33
27
34
.include <bsd.port.pre.mk>
28
.include <bsd.port.pre.mk>
35
29
36
.if exists(${LOCALBASE}/lib/libreadline.so.5)
30
.if exists(${LOCALBASE}/lib/libreadline.so.5)
37
LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
31
LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
38
.endif
32
.endif
39
33
40
post-extract:
41
	@${REINPLACE_CMD} -E -e \
42
		"s,/usr/local/include/openwince,${OPENWINCE_INCLUDE}," \
43
		${WRKSRC}/configure
44
45
.include <bsd.port.post.mk>
34
.include <bsd.port.post.mk>

Return to bug 127487