summaryrefslogtreecommitdiff
path: root/pkgng/Makefile
blob: 92d3c1da1c378062702eee50aed84e9795684863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.include <bsd.own.mk>

PREFIX?=	/usr/local
LIBDIR=		${PREFIX}/lib/pkg/
SHLIB_DIR?=	${LIBDIR}/
SHLIB_NAME?=	${PLUGIN_NAME}.so

PLUGIN_NAME=	etckeeper
SRCS=		etckeeper.c

PKGFLAGS!=	pkgconf --cflags pkg
CFLAGS+=	${PKGFLAGS}

beforeinstall:
	${INSTALL} -d ${LIBDIR}

.include <bsd.lib.mk>