blob: 348b4c88eaf9a1f3c6412bba5d8b32f437707229 (
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
|
# $NetBSD: Makefile,v 1.45 2018/07/20 03:34:08 ryoon Exp $
DISTNAME= fossil-src-2.4
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= devel scm
MASTER_SITES= https://www.fossil-scm.org/index.html/uv/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fossil-scm.org/
COMMENT= High-reliability, distributed software configuration management
LICENSE= 2-clause-bsd
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl:Q}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib:Q}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
.include "options.mk"
pre-configure:
${MKDIR} ${WRKSRC}/bld
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fossil ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fossil.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT-BSD2.txt \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/src/linenoise.h \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|