summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk26-docs/Makefile
blob: 65c7ba17ed95852df781907180e375a998df58cc (plain) (blame)
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
# Created by: Matthias Sund <m.sund@arcor.de>
# $FreeBSD$

PORTNAME=	wxgtk_doc
PORTVERSION=	2.6.4
CATEGORIES=	x11-toolkits
MASTER_SITES=	SF/wxwindows/Documents/${PORTVERSION}
DISTNAME=	wxWidgets-${PORTVERSION}-HTML

MAINTAINER=	m.sund@arcor.de
COMMENT=	wxWidgets ${PORTVERSION} HTML documentation

LATEST_LINK=	wxgtk26_doc

NO_BUILD=	YES

WXGTKDOCDIR=	share/doc/${PORTNAME}_26
WRKSRC=		${WRKDIR}/wxWidgets-${PORTVERSION}/docs

NO_STAGE=	yes
do-install:
	@${MKDIR} ${PREFIX}/${WXGTKDOCDIR}
	@(cd ${WRKSRC} && ${FIND} html -type d -exec ${MKDIR} ${PREFIX}/${WXGTKDOCDIR}/{} \;)
	@(cd ${WRKSRC} && ${FIND} html -type f -exec ${INSTALL_MAN} {} ${PREFIX}/${WXGTKDOCDIR}/{} \;)

post-install:
	@(cd ${WRKSRC} && ${FIND} html -type f -exec ${ECHO} ${WXGTKDOCDIR}/{} >> ${TMPPLIST} \;)
	@(cd ${WRKSRC} && ${FIND} html/* -type d -exec ${ECHO} @dirrm ${WXGTKDOCDIR}/{} >> ${TMPPLIST} \;)
	@${ECHO} @dirrm ${WXGTKDOCDIR}/html >> ${TMPPLIST}
	@${ECHO} @dirrm ${WXGTKDOCDIR} >> ${TMPPLIST}

.include <bsd.port.mk>