blob: da72effa80757f9729810c27981fdf9edf766790 (
plain)
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
|
# $NetBSD: Makefile,v 1.3 2019/04/03 00:32:42 ryoon Exp $
GITHUB_PROJECT= ltfs
DISTNAME= v2.4.2.0-pre0
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S/v//:S/-pre0/.0/}
PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= ${MASTER_SITE_GITHUB:=LinearTapeFileSystem/}/${GITHUB_PROJECT}/archive/
DIST_SUBDIR= ${GITHUB_PROJECT}
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME:S/v//}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/LinearTapeFileSystem/ltfs/
COMMENT= Linear FileSystem for LTO and DAT tapes
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoheader automake autoreconf gmake pkg-config
USE_LANGUAGES= c
REPLACE_SH+= init.d/ltfs
EGDIR= ${PREFIX}/share/examples/ltfs/
CONF_FILES+= ${EGDIR}/ltfs.conf ${PKG_SYSCONFDIR}/ltfs.conf
CONF_FILES+= ${EGDIR}/ltfs.conf.local ${PKG_SYSCONFDIR}/ltfs.conf.local
pre-configure:
cd ${WRKSRC} && ./autogen.sh
pre-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/ltfs.conf ${DESTDIR}${EGDIR}/
${INSTALL_DATA} ${WRKSRC}/conf/ltfs.conf.local ${DESTDIR}${EGDIR}/
# net/net-snmp brings -lperl but fails to buildinlink it
# or set approriate -L flag, hence we must help here, despite
# we do not need -lperl.
.include "../../lang/perl5/buildlink3.mk"
LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
.include "../../devel/libuuid/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../net/net-snmp/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../filesystems/fuse/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|