1 # $NetBSD: Makefile,v 1.1.1.1 2011/05/27 22:57:42 cheusov Exp $
3 PKGNAME
= heirloom-doc-
${HEIRLOOM_VER}
6 .
include "../../sysutils/heirloom-doc/Makefile.common"
8 MAINTAINER
= cheusov@NetBSD.org
10 DOC_FILES
= COPYING COPYING.LGPL \
12 OPENSOLARIS.LICENSE README
14 DOC_DIR
= ${PREFIX}/share
/doc
/${PKGBASE}
15 MAN1_DIR
= ${PREFIX}/${HLROOT}/man
/man1
17 INSTALLATION_DIRS
+= ${DOC_DIR} ${DOC_DIR}/LICENSE
${MAN1_DIR}
19 MAKE_FLAGS
+= SUBDIRS
=build
22 cd
${WRKSRC}/build
&& ${MAKE} && cd ..
&& ${MAKE} -f Makefile intro
.1
26 ${INSTALL_DATA} ${WRKSRC}/README
${DESTDIR}${DOC_DIR}; \
27 for i in
${DOC_FILES}; do \
28 ${INSTALL_DATA} ${WRKSRC}/LICENSE
/"$${i}" \
29 ${DESTDIR}${DOC_DIR}/LICENSE
; \
31 ${INSTALL_MAN} ${WRKSRC}/intro
.1 ${DESTDIR}${MAN1_DIR}
33 .
include "../../mk/bsd.pkg.mk"