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

(-)devel/jtag/Makefile (-19 / +26 lines)
Lines 1-10 Link Here
1
# New ports collection makefile for:	jtag
1
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
2
# Date created:		2006-08-05
3
# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
4
#
5
# $MBSDlabs$
6
# $FreeBSD: ports/devel/jtag/Makefile,v 1.11 2012/01/21 17:37:10 eadler Exp $
2
# $FreeBSD: ports/devel/jtag/Makefile,v 1.11 2012/01/21 17:37:10 eadler Exp $
7
#
8
3
9
PORTNAME=	jtag
4
PORTNAME=	jtag
10
PORTVERSION=	0.5.1
5
PORTVERSION=	0.5.1
Lines 15-39 Link Here
15
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Utility to work with JTAG-aware boards
11
COMMENT=	Utility to work with JTAG-aware boards
17
12
13
LICENSE=	GPLv2 # (or later)
14
18
BUILD_DEPENDS=	${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include
15
BUILD_DEPENDS=	${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include
19
RUN_DEPENDS:=	${BUILD_DEPENDS}
16
RUN_DEPENDS:=	${BUILD_DEPENDS}
20
17
18
OPTIONS_DEFINE=	NLS DOCS
19
OPTIONS_DEFAULT=NLS
20
21
USE_BZIP2=	yes
21
USE_BZIP2=	yes
22
USE_GETTEXT=	yes
22
USE_READLINE=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
MAKE_JOBS_SAFE=	yes
25
26
CPPFLAGS+=	-I${LOCALBASE}/include
27
LDFLAGS+=	-L${LOCALBASE}/lib
28
29
PORTDOCS=	*
24
30
25
ONLY_FOR_ARCHS=	i386
31
ONLY_FOR_ARCHS=	i386
26
OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince
32
OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince
27
OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h
33
OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h
28
34
29
.if !defined(NOPORTDOCS)
35
.include <bsd.port.options.mk>
30
PORTDOCS=	*
31
.endif
32
36
33
.include <bsd.port.pre.mk>
37
.if ${PORT_OPTIONS:MNLS}
34
38
USE_GETTEXT=	yes
35
.if exists(${LOCALBASE}/lib/libreadline.so.6)
39
PLIST_SUB+=	NLS=""
36
LIB_DEPENDS+=	readline.6:${PORTSDIR}/devel/readline
40
.else
41
CONFIGURE_ARGS+=--disable-nls
42
PLIST_SUB+=	NLS="@comment "
37
.endif
43
.endif
38
44
39
post-extract:
45
post-extract:
Lines 42-51 Link Here
42
		${WRKSRC}/configure
48
		${WRKSRC}/configure
43
49
44
post-install:
50
post-install:
45
.if !defined(NOPORTDOCS)
51
.if ${PORT_OPTIONS:MDOCS}
46
	${MKDIR} ${DOCSDIR}
52
	@${MKDIR} ${DOCSDIR}
47
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/TODO \
53
.for f in README TODO doc/internals.xml
48
		${WRKSRC}/doc/internals.xml ${DOCSDIR}
54
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
55
.endfor
49
.endif
56
.endif
50
57
51
.include <bsd.port.post.mk>
58
.include <bsd.port.mk>
(-)devel/jtag/pkg-plist (-1 / +1 lines)
Lines 41-47 Link Here
41
%%DATADIR%%/xilinx/xcr3128xl-cs144/xcr3128xl-cs144
41
%%DATADIR%%/xilinx/xcr3128xl-cs144/xcr3128xl-cs144
42
%%DATADIR%%/xilinx/xcr3256xl-ft256/STEPPINGS
42
%%DATADIR%%/xilinx/xcr3256xl-ft256/STEPPINGS
43
%%DATADIR%%/xilinx/xcr3256xl-ft256/xcr3256xl-ft256
43
%%DATADIR%%/xilinx/xcr3256xl-ft256/xcr3256xl-ft256
44
share/locale/sk/LC_MESSAGES/jtag.mo
44
%%NLS%%share/locale/sk/LC_MESSAGES/jtag.mo
45
@dirrm %%DATADIR%%/xilinx/xcr3256xl-ft256
45
@dirrm %%DATADIR%%/xilinx/xcr3256xl-ft256
46
@dirrm %%DATADIR%%/xilinx/xcr3128xl-cs144
46
@dirrm %%DATADIR%%/xilinx/xcr3128xl-cs144
47
@dirrm %%DATADIR%%/xilinx/xc2c256-tq144
47
@dirrm %%DATADIR%%/xilinx/xc2c256-tq144

Return to bug 171985