pkgsrc/devel/picprg/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

33 lines
958 B
Makefile

# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:36 jlam Exp $
#
PKGNAME= picprg-2.3d
DISTNAME= ${PKGNAME_NOREV:S/-//}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.finitesite.com/d3jsys/
MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://www.finitesite.com/d3jsys/
COMMENT= Parallel port PIC programmer
# The programmer makes direct I/O bus accesses via the i386 in/out
# instructions. The program has been patches to work on NetBSD only,
# via the i386_set_ioperm() interface.
#
ONLY_FOR_PLATFORM= NetBSD-*-i386
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/picprg ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/picprg
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/picprg
${INSTALL_DATA} ${WRKSRC}/README.BAJ ${DESTDIR}${PREFIX}/share/doc/picprg
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"