Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / heirloom-doc / Makefile
blob65bc14053de1a25b5061df3bb14601591646a29d
1 # $NetBSD: Makefile,v 1.1.1.1 2011/05/27 22:57:42 cheusov Exp $
3 PKGNAME= heirloom-doc-${HEIRLOOM_VER}
4 CATEGORIES= sysutils
6 .include "../../sysutils/heirloom-doc/Makefile.common"
8 MAINTAINER= cheusov@NetBSD.org
10 DOC_FILES= COPYING COPYING.LGPL \
11 LICENSE LUCENT \
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
21 do-build:
22 cd ${WRKSRC}/build && ${MAKE} && cd .. && ${MAKE} -f Makefile intro.1
24 do-install:
25 set -e; \
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; \
30 done; \
31 ${INSTALL_MAN} ${WRKSRC}/intro.1 ${DESTDIR}${MAN1_DIR}
33 .include "../../mk/bsd.pkg.mk"