summaryrefslogtreecommitdiff
path: root/filesystems/ltfs/Makefile
blob: 32a94538f3002837a3e84598f8ff96ca2fead039 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
PORTNAME=	ltfs
DISTVERSIONPREFIX=	v
DISTVERSION=	2.4.7
PORTREVISION=	2
DISTVERSIONSUFFIX=	-10514
CATEGORIES=	filesystems sysutils

MAINTAINER=	kbowling@FreeBSD.org
COMMENT=	Reference implementation of LTFS for stand-alone tape drive
WWW=		https://github.com/LinearTapeFileSystem/ltfs

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libicudata.so:devel/icu \
		libuuid.so:misc/libuuid

USES=		autoreconf compiler:c11 fuse gnome libtool:build pkgconfig \
		python shebangfix

USE_GITHUB=	yes
GH_ACCOUNT=	LinearTapeFileSystem
USE_GNOME=	libxml2
USE_LDCONFIG=	yes

SHEBANG_FILES=	src/utils/ltfs_ordered_copy

GNU_CONFIGURE=			yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share

CONFIGURE_ARGS+=	--enable-icu-6x

#INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DEBUG SNMP
OPTIONS_SUB=	yes

DEBUG_DESC=	Build without optimization and extended debug flags
SNMP_DESC=	SNMP trap support

DEBUG_CONFIGURE_ON=	--enable-debug
DEBUG_CONFIGURE_OFF=	--enable-fast

SNMP_LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
SNMP_USES=		perl5
SNMP_CONFIGURE_ENABLE=	snmp

post-install:
	@${RM} ${STAGEDIR}${DATADIR}/ltfs
	@${RMDIR} ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>