2002-09-10 10:54:21 +02:00
|
|
|
# Ports collection makefile for: simulavr
|
|
|
|
# Date created: 3 Sep 2002
|
|
|
|
# Whom: Joerg Wunsch <joerg@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= simulavr
|
2004-03-04 23:39:07 +01:00
|
|
|
PORTVERSION= 0.1.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 9
|
2002-09-10 10:54:21 +02:00
|
|
|
CATEGORIES= devel
|
2003-10-03 13:04:59 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-03-04 23:39:07 +01:00
|
|
|
# special name only this time, don't let this go into ${PORTVERSION}
|
2005-07-31 00:03:01 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.2
|
2002-09-10 10:54:21 +02:00
|
|
|
|
|
|
|
MAINTAINER= joerg@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A simulator for AVR microcontrollers
|
2002-09-10 10:54:21 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/avr/include/avr/io.h:${PORTSDIR}/devel/avr-libc \
|
2005-08-01 08:28:20 +02:00
|
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils \
|
|
|
|
doxygen:${PORTSDIR}/devel/doxygen \
|
|
|
|
latex:${PORTSDIR}/print/teTeX
|
|
|
|
|
2005-07-31 00:03:01 +02:00
|
|
|
#USE_BZIP2= yes
|
2002-09-10 10:54:21 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-03-04 23:39:07 +01:00
|
|
|
CONFIGURE_TARGET=
|
2002-09-10 10:54:21 +02:00
|
|
|
CONFIGURE_ARGS= --disable-versioned-doc
|
|
|
|
|
2004-03-04 23:39:07 +01:00
|
|
|
MAN1= simulavr.1 simulavr-disp.1
|
|
|
|
INFO= simulavr
|
|
|
|
|
2006-03-04 22:48:21 +01:00
|
|
|
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}
|
2006-09-24 16:28:19 +02:00
|
|
|
@for man in ${__MANPAGES}; do \
|
|
|
|
${ECHO_CMD} $${man} >> ${TMPPLIST}; \
|
|
|
|
done
|
2006-03-04 22:48:21 +01:00
|
|
|
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} install)
|
2005-08-03 21:47:02 +02:00
|
|
|
|
2004-04-17 02:52:54 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= "Does not compile"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|