47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
|
# 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>
|