aboutsummaryrefslogtreecommitdiffstats
path: root/devel/stlink/Makefile
blob: 8cd673ee3e0639ab4fdc7cf6aff6363fa8a806f3 (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
# $FreeBSD$

PORTNAME=   stlink
PORTVERSION=    1.0.0.20150209
CATEGORIES= devel

MAINTAINER= lev@FreeBSD.org
COMMENT=    STM32 ST-Link JTAG variant tools

LICENSE=    BSD3CLAUSE

OPTIONS_DEFINE=     GTK3
OPTIONS_SUB=        GTK3
GTK3_CONFIGURE_ON=  --with-gtk
GTK3_USE=       GNOME=gtk30

USE_GITHUB= yes
GH_ACCOUNT= texane
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT=  873fb35

USES=       gmake pkgconfig
USE_AUTOTOOLS=  autoconf automake
GNU_CONFIGURE=  yes

PORTDOCS=   README tutorial.pdf

pre-configure:
    cd ${WRKSRC} && ./autogen.sh

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
    ${INSTALL_DATA} ${WRKSRC}/doc/tutorial/tutorial.pdf ${STAGEDIR}${DOCSDIR}/tutorial.pdf

.include <bsd.port.mk>