mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
747fbe6807
- Respect CC - Fix build with clang - USES -> gmake - Use WWW: with a single space - Fix build on 9.x and later - Define DOCS option
35 lines
915 B
Makefile
35 lines
915 B
Makefile
# Created by: Oleg Alexeenkov <proler@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mhddfs
|
|
PORTVERSION= 0.1.37
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://mhddfs.uvw.ru/downloads/
|
|
PKGNAMEPREFIX= fusefs-
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= proler@gmail.com
|
|
COMMENT= Multi HDD [FUSE] File System
|
|
|
|
USES= fuse pkgconfig gmake
|
|
MAKE_ARGS= WITHOUT_XATTR=1
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/mhddfs.1.gz
|
|
PORTDOCS= README ChangeLog
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|<sys/vfs.h>|<sys/statvfs.h>|' \
|
|
${WRKSRC}/src/main.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|