freebsd-ports/sysutils/ltfs/Makefile
Charlie Li d63665f7cd
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
2022-04-10 15:11:41 -04:00

53 lines
1.1 KiB
Makefile

# Created by: Kevin Bowling <kbowling@FreeBSD.org>
PORTNAME= ltfs
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.4.0
DISTVERSIONSUFFIX= -10470
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= kbowling@FreeBSD.org
COMMENT= Reference implementation of LTFS for stand-alone tape drive
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicudata.so:devel/icu \
libpkg.so:${PKG_ORIGIN} \
libuuid.so:misc/e2fsprogs-libuuid
USES= autoreconf compiler:c11 fuse gnome libtool:build pkgconfig \
python shebangfix ssl
USE_GITHUB= yes
GH_ACCOUNT= LinearTapeFileSystem
USE_GNOME= libxml2
USE_LDCONFIG= yes
SHEBANG_FILES= src/utils/ltfs_ordered_copy
GNU_CONFIGURE= yes
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>