aboutsummaryrefslogtreecommitdiff
path: root/misc/documancer/Makefile
blob: 670242c21b829711a134e5df910725554842c537 (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
33
34
35
36
37
38
39
# ex:ts=8
# Ports collection makefile for:	documancer
# Date created:			Oct 27, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	documancer
PORTVERSION=	0.2.3
PORTREVISION=	5
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A programmer's documentation reader

BUILD_DEPENDS=	wget:${PORTSDIR}/ftp/wget \
		swish-e:${PORTSDIR}/www/swish-e
LIB_DEPENDS=	wxmozilla_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxmozilla
RUN_DEPENDS=	${BUILD_DEPENDS} \
		${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24

BROKEN=		Broken dependency

USE_PYTHON=	2.3
USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--libdir=${PREFIX}/share

PLIST_FILES=	bin/documancer

post-install:
	@${FIND} ${DATADIR} -type f | ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}

.include <bsd.port.mk>