blob: 797cc1dca171153833f33994e89c4f5f7dce5c8b (
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
|
# New ports collection makefile for: tavrasm
# Date created: 12 December 2003
# Whom: Wes Peters <wes@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tavrasm
PORTVERSION= 1.22
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.tavrasm.org/:0
DISTFILES= ${PORTNAME}${EXTRACT_SUFX}:0
MAINTAINER= wes@FreeBSD.org
COMMENT= Tom's AVR Assembler
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
USE_BISON= build
WRKSRC= ${WRKDIR}/tavrasm.122
BUILD_WRKSRC= ${WRKSRC}/src
AVR_INCLUDE= ${PREFIX}/include/avr
MAKEFILE= makefile
USE_GMAKE= yes
ALL_TARGET= tavrasm
# Also get the include files and documentation from Atmel
MASTER_SITES+= http://www.atmel.com/dyn/resources/prod_documents/:1
DISTFILES+= ASM.ZIP:1
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}${PORTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi
@if ! (unzip -qoLa ${_DISTDIR}ASM.ZIP 'appnotes/*.inc' 'doc/*' -d ${WRKSRC});\
then \
exit 1; \
fi
do-install:
${MKDIR} ${DOCSDIR} ${AVR_INCLUDE}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/* ${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/appnotes/*.inc ${AVR_INCLUDE}
.include <bsd.port.mk>
|