diff options
Diffstat (limited to 'sysutils/fusefs-zip/Makefile')
-rw-r--r-- | sysutils/fusefs-zip/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/fusefs-zip/Makefile b/sysutils/fusefs-zip/Makefile new file mode 100644 index 000000000000..b383c37c6812 --- /dev/null +++ b/sysutils/fusefs-zip/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= fuse-zip +PORTVERSION= 0.2.13 +CATEGORIES= sysutils +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= olevole@olevole.ru +COMMENT= FUSE filesystem to mount ZIP archives with write support + +LICENSE= LGPL3 + +LIB_DEPENDS= zip:${PORTSDIR}/archivers/libzip + +USE_GMAKE= yes +USE_PKGCONFIG= build +USE_FUSE= yes + +PLIST_FILES= bin/${PORTNAME} +MAN1= ${PORTNAME}.1 +PORTDOCS= README TODO changelog + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +do-build: + (cd ${WRKSRC} && ${GMAKE} -C lib && \ + ${GMAKE} CXXFLAGS="-I${LOCALBASE}/include") + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> |