blob: 348c27abf5cc0fcb9b6af0a46937eb1dd35c7e15 (
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
40
41
42
43
44
45
46
|
# New ports collection makefile for: fusefs-wikipediafs
# Date created: 10 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wikipediafs
PORTVERSION= 0.3
CATEGORIES= sysutils
MASTER_SITES= SF
PKGNAMEPREFIX= fusefs-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Mount mediawikis
LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \
py*-fusefs>=0.2:${PORTSDIR}/devel/py-fusefs
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
MAN1= mount.${PORTNAME}.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
IGNORE= depends on kernel module that requires FreeBSD 6 or later
.endif
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/doc/*gz
post-patch:
@${REINPLACE_CMD} -e 's|0.1|${PORTVERSION}|;/data_files/d'\
${WRKSRC}/setup.py
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.post.mk>
|