blob: 88a8cd7d3002b28d13a4bb8a9948f1fbb426e095 (
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
|
# $NetBSD: Makefile,v 1.2 2011/10/09 10:02:45 cheusov Exp $
PKGNAME= heirloom-doc-${HEIRLOOM_VER}
CATEGORIES= sysutils
.include "../../sysutils/heirloom-doc/Makefile.common"
MAINTAINER= cheusov@NetBSD.org
DOC_FILES= COPYING COPYING.LGPL \
LICENSE LUCENT \
OPENSOLARIS.LICENSE README
DOC_DIR= ${PREFIX}/share/doc/${PKGBASE}
MAN1_DIR= ${PREFIX}/${HLROOT}/man/man1
INSTALLATION_DIRS+= ${DOC_DIR} ${DOC_DIR}/LICENSE ${MAN1_DIR}
MAKE_FLAGS+= SUBDIRS=build
do-build:
cd ${WRKSRC}/build && ${MAKE} && cd .. && ${MAKE} -f Makefile intro.1
do-install:
set -e; \
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOC_DIR}; \
for i in ${DOC_FILES}; do \
${INSTALL_DATA} ${WRKSRC}/LICENSE/"$${i}" \
${DESTDIR}${DOC_DIR}/LICENSE; \
done; \
${INSTALL_MAN} ${WRKSRC}/intro.1 ${DESTDIR}${MAN1_DIR}
.include "../../mk/bsd.pkg.mk"
|