pkgsrc/devel/tavrasm/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

31 lines
851 B
Makefile

# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= tavrasm
PKGNAME= ${DISTNAME}-1.22
CATEGORIES= devel
MASTER_SITES= http://www.tavrasm.org/
MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.tavrasm.org/
COMMENT= Assembler for the Atmel AVR series of microcontrollers
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/.//:S/-/./}
BUILD_DIRS= src
USE_TOOLS+= lex bison
MAKE_FILE= makefile
DIST_SUBDIR= ${PKGNAME_NOREV}
ONLY_FOR_COMPILER= gcc
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tavrasm
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tavrasm/README
${INSTALL_PROGRAM} ${WRKSRC}/src/tavrasm ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tavrasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"