summaryrefslogtreecommitdiff
path: root/pkgng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgng/Makefile')
-rw-r--r--pkgng/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgng/Makefile b/pkgng/Makefile
new file mode 100644
index 0000000..92d3c1d
--- /dev/null
+++ b/pkgng/Makefile
@@ -0,0 +1,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>