blob: d898e35afb38f0016f6c5902cd81b8d6d3f2c649 (
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
|
# $NetBSD: Makefile,v 1.2 2000/10/30 09:12:11 skrll Exp $
#
PKGNAME= qt2-docs-2.2.1
.include "../qt2-libs/Makefile.common"
DEPENDS+= qt2-libs-*:../../x11/qt2-libs
NO_PATCH= yes
NO_CONFIGURE= yes
NO_BUILD= yes
EVAL_PREFIX+= QT2DIR=qt2-libs
QTPREFIX= ${QT2DIR}/qt2
do-install:
${INSTALL_DATA_DIR} ${QTPREFIX}/doc
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.QT ${QTPREFIX}/doc
${INSTALL_DATA_DIR} ${QTPREFIX}/doc/man
${INSTALL_MAN_DIR} ${QTPREFIX}/doc/man/man3
@cd ${WRKSRC}/doc/man/man3; PAGES="`ls -1 | ${SED} -e 's,3qt$$,3,'`"; \
(for PAGE in $$PAGES; do \
${ECHO} installing ${QTPREFIX}/doc/man/man3/$${PAGE}; \
set - X `head -1 $${PAGE}qt`; \
if [ $$# -eq 3 ] && [ "$$2" = .so ]; then \
${LN} -fs `basename $$3 | ${SED} s/qt$$//` \
${QTPREFIX}/doc/man/man3/$${PAGE}; \
else \
${INSTALL_MAN} $${PAGE}qt ${QTPREFIX}/doc/man/man3/$${PAGE}; \
fi; \
done)
.include "../../mk/bsd.pkg.mk"
|