aboutsummaryrefslogtreecommitdiffstats
path: root/misc/documancer/Makefile
blob: a0c6d393f3b19a5a4831ea942a0ff8994f7dbb18 (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
# ex:ts=8
# Ports collection makefile for:    documancer
# Date created:         Oct 27, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   documancer
PORTVERSION=    0.2.3
PORTREVISION=   7
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
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PYTHON= 2.4
USE_PERL5=  yes
USE_WX=     2.4
WX_COMPS=   mozilla python
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>