# $NetBSD: Makefile,v 1.16 2017/12/24 09:52:16 wiz Exp $ DISTNAME= hptools-src-3.0.8 PKGNAME= hptools-3.0.8 CATEGORIES= devel MASTER_SITES= https://www.hpcalc.org/hp48/pc/programming/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://www.hpcalc.org/hp48/pc/programming/ COMMENT= SDK for Hewlett-Packard HP-48G/49G/39G/40G calculators LICENSE= hptools-license RESTRICTED= Redistribution of unmodified source only; resale prohibited. NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} WRKSRC= ${WRKDIR}/Hptools GNU_CONFIGURE= YES CONFIGURE_DIRS= support BUILD_DIRS= support USE_TOOLS+= pax INSTALLATION_DIRS+= bin share/doc INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin post-build: ${CHMOD} ${SHAREMODE} ${WRKSRC}/doc/* post-install: cd ${WRKSRC} \ && pax -rw -pam -s ',^doc,hptools,g' doc ${DESTDIR}${PREFIX}/share/doc .include "../../mk/bsd.pkg.mk"