summaryrefslogtreecommitdiff
path: root/devel/simulavr/Makefile
blob: 0f3a9747177636edae135bac7c68bacf59c9e6ab (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
# Ports collection makefile for:	simulavr
# Date created:				3 Sep 2002
# Whom:					Joerg Wunsch <joerg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	simulavr
PORTVERSION=	0.1.2
PORTREVISION=	9
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}
# special name only this time, don't let this go into ${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}.2

MAINTAINER=	joerg@FreeBSD.org
COMMENT=	A simulator for AVR microcontrollers

BUILD_DEPENDS=	${LOCALBASE}/avr/include/avr/io.h:${PORTSDIR}/devel/avr-libc \
		avr-ld:${PORTSDIR}/devel/avr-binutils \
		doxygen:${PORTSDIR}/devel/doxygen \
		latex:${PORTSDIR}/print/teTeX

#USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

CONFIGURE_TARGET=
CONFIGURE_ARGS=	--disable-versioned-doc

MAN1=		simulavr.1 simulavr-disp.1
INFO=		simulavr

do-install:
		${RM} -f ${TMPPLIST}
		(cd ${BUILD_WRKSRC}/doc/internals_html && \
		 ${FIND} . -type f \( -name '*.html' -or -name '*.css' \) |\
		${SORT} |\
		${SED} -e 's|^\.|share/doc/simulavr/internals_html|' \
		>> ${TMPPLIST})
		${CAT} ${PLIST} >> ${TMPPLIST}
		@for man in ${__MANPAGES}; do \
			${ECHO_CMD} $${man} >> ${TMPPLIST}; \
		done
		(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} install)

.include <bsd.port.mk>