Files
ports/sysutils/fusefs-libs/Makefile
T
Stefan Eßer e8de086635 Clean-up Makefile
Use release archive as suggested by section 5.4.3 in Porter's Handbook. [1]
Remove --prefix= as this is already passed by the framework. [1]

While here re-arrange the definitions and targets based on portclippy.

No change to the generated package, thus no change to the port revision.

PR:	     	250041
Submitted by:	daniel.engberg.lists@pyret.net [1]
2020-10-25 13:22:24 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Anish Mistry
# $FreeBSD$
PORTNAME= fusefs
DISTVERSION= 2.9.9
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/
PKGNAMESUFFIX= -libs
DISTNAME= fuse-${DISTVERSION}
MAINTAINER= se@FreeBSD.org
COMMENT= FUSE allows filesystem implementation in userspace
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
IGNORE_DragonFly= fusefs has not been implemented on DragonFly
USES= autoreconf gettext-tools iconv libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
CONFIGURE_ENV= MOUNT_FUSE_PATH=${PREFIX}/sbin
INSTALL_TARGET= install-strip
PORTSCOUT= limit:^2\.
PLIST_SUB= VERSION=${PORTVERSION}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
pre-configure:
${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/libs
${INSTALL_DATA} ${WRKSRC}/doc/how-fuse-works ${WRKSRC}/doc/kernel.txt ${STAGEDIR}${DOCSDIR}/libs
post-install:
${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
.include <bsd.port.mk>