freebsd-ports/filesystems/httpfs/Makefile
Robert Clausecker 6e2da9672f filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988
2024-11-06 16:17:35 +01:00

53 lines
1.2 KiB
Makefile

PORTNAME= httpfs
PORTVERSION= 2.${VERSION}
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= filesystems www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/
PKGNAMEPREFIX= fusefs-
DISTNAME= ${PORTNAME}2-${VERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fuse-based http filesystem
WWW= https://httpfs.sourceforge.net/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/debian/copyright
DEPRECATED= Abandonware, last release in 2012 and there are multiple issues unresolved
EXPIRATION_DATE=2024-12-31
USES= fuse pkgconfig gmake
WRKSRC= ${WRKDIR}/${PORTNAME}2-${VERSION}
VERSION= 0.1.5
CFLAGS+= -D__BSD_VISIBLE
PLIST_FILES= bin/httpfs2
CERT_STORE= ${LOCALBASE}/share/certs/ca-root-nss.crt
MAKE_ENV+= CERT_STORE=${CERT_STORE}
OPTIONS_DEFINE= GNUTLS
OPTIONS_DEFAULT= GNUTLS
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_RUN_DEPENDS= ${CERT_STORE}:security/ca_root_nss
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/httpfs2 ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTLS}
ALL_TARGET= full
PLIST_FILES+= bin/httpfs2-mt bin/httpfs2-ssl bin/httpfs2-ssl-mt
.else
ALL_TARGET= httpfs2
.endif
do-install-GNUTLS-on:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} httpfs2-mt httpfs2-ssl httpfs2-ssl-mt \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>