Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-15 20:45:54 +0400
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-15 20:45:54 +0400
commit18ed82fd1bab6df0fd4efd0f1b2194b7e9e262cc (patch)
tree8a21bcda1b70e44993c6d343c663508da903e660 /src/etc
parentcadb54088cdc8a21c6483dfb1346b28b3982a321 (diff)
Convert build system to use FreeBSD's bsd.*.mk
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/poudriere.d/Makefile1
-rw-r--r--src/etc/poudriere.d/hooks/Makefile11
-rw-r--r--src/etc/rc.d/Makefile13
3 files changed, 25 insertions, 0 deletions
diff --git a/src/etc/poudriere.d/Makefile b/src/etc/poudriere.d/Makefile
new file mode 100644
index 00000000..4d39bdf1
--- /dev/null
+++ b/src/etc/poudriere.d/Makefile
@@ -0,0 +1 @@
+.include <bsd.port.mk>
diff --git a/src/etc/poudriere.d/hooks/Makefile b/src/etc/poudriere.d/hooks/Makefile
new file mode 100644
index 00000000..2f476319
--- /dev/null
+++ b/src/etc/poudriere.d/hooks/Makefile
@@ -0,0 +1,11 @@
+NO_OBJ= yes
+
+PREFIX?= /usr/local
+
+FILESDIR?= ${PREFIX}/etc/poudriere.d/hooks/
+FILES= pkgbuild.sh.sample
+
+beforeinstall:
+ mkdir -p ${FILESDIR}
+
+.include <bsd.prog.mk>
diff --git a/src/etc/rc.d/Makefile b/src/etc/rc.d/Makefile
new file mode 100644
index 00000000..93239eb9
--- /dev/null
+++ b/src/etc/rc.d/Makefile
@@ -0,0 +1,13 @@
+.SUFFIXES: .in
+
+PREFIX?= /usr/local
+FILESDIR= ${PREFIX}/etc/rc.d
+FILES= poudriere
+FILESMODE= ${BINMODE}
+CLEANFILES= ${FILES}
+
+.in:
+ sed -e 's,__PREFIX__,${PREFIX},g' \
+ ${.IMPSRC} > ${.TARGET}
+
+.include <bsd.prog.mk>