mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
454cceb7c9
- Convert USE_BZIP2 to USES - Respect user-set LDFLAGS - Whitespace fix in pkg-descr PR: 188258 Submitted by: amdmi3 Approved by: maintainer timeout
39 lines
983 B
Makefile
39 lines
983 B
Makefile
# Created by: Wes Peters <@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= avra
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= graudeejs@gmail.com
|
|
COMMENT= Macro Assembler for Atmel AVR microcontrollers
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
USES= tar:bzip2 gmake
|
|
MAKEFILE= ${WRKSRC}/makefiles/Makefile.linux
|
|
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PORTDATA= *
|
|
PLIST_FILES= bin/avra
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/avra ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/.. && ${COPYTREE_SHARE} includes ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|