summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-wikipediafs/Makefile
blob: 258d9c9048e1db79263c58a0d2d6a5adfcd79343 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	wikipediafs
PORTVERSION=	0.4
CATEGORIES=	sysutils
MASTER_SITES=	SF
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	5u623l20@gmail.com
COMMENT=	Mount mediawikis

RUN_DEPENDS=	py*-fusefs>=0.2:${PORTSDIR}/devel/py-fusefs

USES=		fuse
USE_PYTHON=	yes
USE_PYDISTUTILS=yes
PORTDOCS=	AUTHORS ChangeLog HACKING NEWS README TODO
MAN1=		mount.${PORTNAME}.1

post-extract:
	@${GUNZIP_CMD} ${WRKSRC}/doc/*gz

post-install:
	@cd ${WRKSRC}/doc/&&${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/
.ifndef NOPORTDOCS
	@${INSTALL} -d ${DOCSDIR}/
	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>