1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/sysutils/fusefs-rar2fs/Makefile
Jochen Neumeister 150d86608c sysutils/fusefs-rar2fs: Update to 1.27.0
Changelog:
 Fix parsing of password entry in config file
 dirname() do not modify passed string on some platforms (#93)
 Fix build issue with C++14
 Add option to set file date according to main archive file
 Fix scandir(3) argument detection

PR:		227657
Submitted by:	Niclas <n_carlsson@outlook.com> (maintainer)
2018-04-20 20:27:31 +00:00

44 lines
1006 B
Makefile

# Created by: Joris Vandalon
# $FreeBSD$
PORTNAME= rar2fs
PORTVERSION= 1.27.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
PKGNAMEPREFIX= fusefs-
MAINTAINER= n_carlsson@outlook.com
COMMENT= Mount rar archives as filesystem
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libunrar.so.5:${LIBUNRAR_PORT}
BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch
USE_GITHUB= yes
GH_ACCOUNT= hasse69
USES= autoreconf gmake fuse
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static-unrar \
--with-fuse-lib=${LOCALBASE}/lib \
--with-fuse=${LOCALBASE}/include/fuse \
--with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \
--with-unrar-lib=${LOCALBASE}/lib
CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG}
PLIST_FILES= bin/${PORTNAME} \
bin/mkr2i \
man/man1/rar2fs.1.gz
LIBUNRAR_PORT= archivers/libunrar5
LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||}
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++||g' -e '/rar2fs_LINK =/s|CC|CXX|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>