aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libversion/Makefile
blob: f0f1d142ddaae3ef9d92cb475dd6b3bdefb0ad63 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libversion
PORTVERSION=    3.0.0
CATEGORIES= devel

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Advanced version string comparison library

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_GITHUB= yes
GH_ACCOUNT= repology

USES=       cmake
USE_LDCONFIG=   yes
TEST_TARGET=    test
PORTDOCS=   *

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in CHANGES.md README.md doc/ALGORITHM.md
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>