Lines 2-38
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= rar2fs |
4 |
PORTNAME= rar2fs |
5 |
PORTVERSION= 1.15.1 |
5 |
PORTVERSION= 1.23.1 |
6 |
PORTREVISION= 1 |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= sysutils |
7 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= GOOGLE_CODE:rar2fs http://www.rarlab.com/rar/:unrarsrc |
|
|
9 |
PKGNAMEPREFIX= fusefs- |
8 |
PKGNAMEPREFIX= fusefs- |
10 |
DISTFILES= rar2fs-1.15.1.tar.gz:rar2fs unrarsrc-4.2.4.tar.gz:unrarsrc |
|
|
11 |
|
9 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= Mount rar archives as filesystem |
11 |
COMMENT= Mount rar archives as filesystem |
14 |
|
12 |
|
15 |
LICENSE= GPLv3 |
13 |
LICENSE= GPLv3+ |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
15 |
|
17 |
BROKEN= Unfetchable (google code has gone away) |
16 |
LIB_DEPENDS= libunrar.so.5:${LIBUNRAR_PORT} |
|
|
17 |
BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch |
18 |
|
18 |
|
19 |
LIB_DEPENDS= libunrar.so:archivers/libunrar4 |
19 |
USE_GITHUB= yes |
|
|
20 |
GH_ACCOUNT= hasse69 |
20 |
|
21 |
|
|
|
22 |
USES= autoreconf execinfo gmake fuse |
23 |
|
21 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ARGS= --with-fuse-lib=${LOCALBASE}/lib \ |
25 |
CONFIGURE_ARGS= --with-fuse-lib=${LOCALBASE}/lib \ |
23 |
--with-fuse=${LOCALBASE}/include/fuse \ |
26 |
--with-fuse=${LOCALBASE}/include/fuse \ |
24 |
--with-unrar=${WRKDIR}/unrar \ |
27 |
--with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \ |
25 |
--with-unrar-lib=${LOCALBASE}/lib |
28 |
--with-unrar-lib=${LOCALBASE}/lib |
|
|
29 |
CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG} |
26 |
|
30 |
|
27 |
PLIST_FILES= bin/${PORTNAME} man/man1/rar2fs.1.gz |
31 |
PLIST_FILES= bin/${PORTNAME} \ |
28 |
USES= execinfo fuse gmake |
32 |
bin/mkr2i \ |
|
|
33 |
man/man1/rar2fs.1.gz |
29 |
|
34 |
|
|
|
35 |
LIBUNRAR_PORT= archivers/libunrar5 |
36 |
LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||} |
37 |
|
30 |
post-patch: |
38 |
post-patch: |
31 |
@${REINPLACE_CMD} -e 's/-lstdc++/-lexecinfo/' -e '/_LINK =/s/CC/CXX/' \ |
39 |
@${REINPLACE_CMD} -e 's|-lstdc++||g' -e '/rar2fs_LINK =/s|CC|CXX|' \ |
32 |
${WRKSRC}/Makefile.in |
40 |
${WRKSRC}/Makefile.am |
33 |
|
41 |
|
34 |
do-install: |
|
|
35 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
36 |
${INSTALL_MAN} ${WRKSRC}/rar2fs.1 ${STAGEDIR}${PREFIX}/man/man1 |
37 |
|
38 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |