summaryrefslogtreecommitdiff
path: root/devel/liblpm/Makefile
blob: 8f7cd7d5ef7315be28957c62bedd37a96ea55ef2 (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

PORTNAME=	liblpm
PORTVERSION=	g2020082801
CATEGORIES=	devel

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Longest Prefix Match library

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/../LICENSE

USES=		compiler:c11 gmake libtool:build

USE_GITHUB=	yes
GH_ACCOUNT=	rmind
GH_PROJECT=	liblpm
GH_TAGNAME=	4119bb7
WRKSRC_SUBDIR=	src
USE_LDCONFIG=	yes
MAKE_ENV=	DESTDIR=${STAGEDIR}${PREFIX} \
		INCDIR=${LOCALBASE}/include \
		LIBDIR=${LOCALBASE}/lib \
		MANDIR=${LOCALBASE}/man

PLIST_FILES=	include/lpm.h \
		lib/liblpm.a \
		lib/liblpm.so \
		lib/liblpm.so.1 \
		lib/liblpm.so.1.0.0

.include <bsd.port.mk>