pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zondeminder: Add PRINT_PLIST_AWK
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Mon Aug 24 10:47:36 2020 -0400
Changeset: 29e6eabcd473e29ac18be3d3cb95c11a45f629e6
Modified Files:
zoneminder/Makefile
Log Message:
zondeminder: Add PRINT_PLIST_AWK
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=29e6eabcd473e29ac18be3d3cb95c11a45f629e6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zoneminder/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diffs:
diff --git a/zoneminder/Makefile b/zoneminder/Makefile
index f2017c4b7b..8b41ae0fea 100644
--- a/zoneminder/Makefile
+++ b/zoneminder/Makefile
@@ -59,13 +59,18 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
ZM_HTTPD_ROOT= share/zoneminder/htdocs
PLIST_SUBST+= ZM_HTTPD_ROOT=${ZM_HTTPD_ROOT:Q}
+PRINT_PLIST_AWK+= { gsub(/${ZM_HTTPD_ROOT:S|/|\\/|g}/, "$${ZM_HTTPD_ROOT}") }
OWN_DIRS+= ${ZM_HTTPD_ROOT:Q}
ZM_HTTPD_CGIBIN= libexec/zoneminder/cgi-bin
PLIST_SUBST+= ZM_HTTPD_CGIBIN=${ZM_HTTPD_CGIBIN:Q}
+PRINT_PLIST_AWK+= { gsub(/${ZM_HTTPD_CGIBIN:S|/|\\/|g}/, "$${ZM_HTTPD_CGIBIN}") }
BUILD_DEFS+= ZM_HTTPD_CGIBIN
OWN_DIRS+= ${ZM_HTTPD_CGIBIN:Q}
+# Omit patchfiles from PLIST.
+PRINT_PLIST_AWK+= /.orig$$/ { next; }
+
INSTALLATION_DIRS+= share/zoneminder ${ZM_HTTPD_ROOT}
INSTALLATION_DIRS+= libexec/zoneminder ${ZM_HTTPD_CGIBIN}
@@ -214,6 +219,7 @@ PLIST_VARS+= rcd
.if ${INIT_SYSTEM} == "rc.d"
PLIST.rcd= yes
.endif
+PRINT_PLIST_AWK+= { gsub(/^.+\/examples\/rc.d/, "$${PLIST.rcd}&"); }
.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
LIBS+= -lexecinfo
Home |
Main Index |
Thread Index |
Old Index