blob: ba61751e2032bf526049a94a73efcb3639208587 (
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
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
#
DISTNAME= heirloom-sh-050706
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heirloom/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= cheusov@tut.by
HOMEPAGE= http://heirloom.sourceforge.net/
COMMENT= Traditional Unix shell derived from OpenSolaris code
LICENSE= cddl-1.0
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
CPPFLAGS.Linux+= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L
PKG_SHELL= ${PREFIX}/heirloom/bin/jsh
PKGDOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${PKGDOCDIR}
DOC_FILES= CHANGES CALDERA.LICENSE OPENSOLARIS.LICENSE README
MAKE_FILE= makefile
MAKE_FLAGS+= ROOT=${DESTDIR}
MAKE_FLAGS+= SV3BIN=${PREFIX}/heirloom/bin
MAKE_FLAGS+= MANDIR=${PREFIX}/heirloom/man
MAKE_FLAGS+= UCBINST=${INSTALL_DATA:Q}
MAKE_FLAGS+= STRIP=true #${STRIP}
MAKE_FLAGS+= WARN=
MAKE_FLAGS+= WERROR=
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
post-install:
.for i in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PKGDOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|