blob: 0f1ccfa67fcf630807058e2850de62b13a27ff73 (
plain)
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
|
# $NetBSD: Makefile,v 1.14 2012/06/24 07:39:27 jperkin Exp $
#
DISTNAME= hptools-src-3.0.8
PKGNAME= hptools-3.0.8
CATEGORIES= devel
MASTER_SITES= http://www.hpcalc.org/hp48/pc/programming/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hpcalc.org/hp48/pc/programming/
COMMENT= SDK for Hewlett-Packard HP-48G/49G/39G/40G calculators
LICENSE= hptools-license
PKG_DESTDIR_SUPPORT= user-destdir
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"
|