summaryrefslogtreecommitdiff
path: root/devel/arduino-glcd/Makefile
blob: 0a3d8181e006b0a6a3c3ee2a090d88f68ee15577 (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
46
47
48
49
50
51
52
53
54
# Created by: Craig Leres <leres@ee.lbl.gov>
# $FreeBSD$

PORTNAME=	arduino-glcd
PORTVERSION=	3.20111205
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://glcd-arduino.googlecode.com/files/
DISTNAME=	glcd-20111205

MAINTAINER=	leres@ee.lbl.gov
COMMENT=	GLCD Graphical LCD Library

LICENSE=	LGPL21

BROKEN=		Unfetchable (google code has gone away)

RUN_DEPENDS=	arduino:devel/arduino

WRKSRC=		${WRKDIR}/glcd
USES=		zip dos2unix

NO_BUILD=	yes

OPTIONS_DEFINE=	EXAMPLES

FILES=	\
	Buildinfo.txt \
	License.txt \
	bitmaps \
	config \
	device \
	doc \
	fonts \
	gText.cpp \
	glcd.cpp \
	glcd.h \
	glcd_Buildinfo.h \
	glcd_Config.h \
	glcd_Device.cpp \
	include \
	readme.txt

PLIST_SUB+=	EXAMPLESDIR_REL=${EXAMPLESDIR_REL}

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/glcd
	(cd ${WRKDIR}/glcd && ${COPYTREE_SHARE} "${FILES}" \
	    ${STAGEDIR}${PREFIX}/arduino/libraries/glcd "! -name *\.orig")
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKDIR}/glcd/examples && ${COPYTREE_SHARE} . \
	    ${STAGEDIR}${EXAMPLESDIR} "! -name *\.orig")

.include <bsd.port.mk>