60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
36 lines
961 B
Makefile
36 lines
961 B
Makefile
# Created by: Joris Vandalon
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rar2fs
|
|
PORTVERSION= 1.15.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= GOOGLE_CODE:rar2fs http://www.rarlab.com/rar/:unrarsrc
|
|
PKGNAMEPREFIX= fusefs-
|
|
DISTFILES= rar2fs-1.15.1.tar.gz:rar2fs unrarsrc-4.2.4.tar.gz:unrarsrc
|
|
|
|
MAINTAINER= joris@vandalon.nl
|
|
COMMENT= Mount rar archives as filesystem
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libunrar.so:${PORTSDIR}/archivers/libunrar4
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-fuse-lib=${LOCALBASE}/lib \
|
|
--with-fuse=${LOCALBASE}/include/fuse \
|
|
--with-unrar=${WRKDIR}/unrar \
|
|
--with-unrar-lib=${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/rar2fs.1.gz
|
|
USES= execinfo fuse gmake
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/-lstdc++/-lexecinfo/' -e '/_LINK =/s/CC/CXX/' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/rar2fs.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|