diff options
author | schmonz <schmonz@pkgsrc.org> | 2020-01-16 16:54:36 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2020-01-16 16:54:36 +0000 |
commit | 34f5fb6065fd2fd8bdf69f3d6cabe15564a92192 (patch) | |
tree | 1828dca4291a01683a8eb1d1c8f49221864155b7 /pkgtools | |
parent | f45c9677b81cf534ed5c17e35c97fe10daf474be (diff) | |
download | pkgsrc-34f5fb6065fd2fd8bdf69f3d6cabe15564a92192.tar.gz |
Mollify pkglint.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/rc.d-boot/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgtools/rc.d-boot/Makefile b/pkgtools/rc.d-boot/Makefile index 47d1b66db78..883ca9ea3d6 100644 --- a/pkgtools/rc.d-boot/Makefile +++ b/pkgtools/rc.d-boot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2020/01/16 16:47:32 schmonz Exp $ +# $NetBSD: Makefile,v 1.12 2020/01/16 16:54:36 schmonz Exp $ # PKGNAME= rc.d-boot-20200116 @@ -37,16 +37,18 @@ FILES_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:Q} EGDIR= share/examples/${PKGBASE} +SLASH_TO_MOLLIFY_PKGLINT= / + .if ${OPSYS} == "Darwin" && exists(/Library/LaunchDaemons) RCDBOOT_STYLE= darwin-launchd CONF_FILES+= ${PREFIX}/${EGDIR}/org.pkgsrc.rc.d-boot.plist \ - /Library/LaunchDaemons/org.pkgsrc.rc.d-boot.plist + ${SLASH_TO_MOLLIFY_PKGLINT}Library/LaunchDaemons/org.pkgsrc.rc.d-boot.plist .elif ${OPSYS} == "FreeBSD" && exists(/etc/rc.d) RCDBOOT_STYLE= freebsd-native .elif ${OPSYS} == "Linux" && exists(/run/systemd/system) && exists(/bin/systemctl) RCDBOOT_STYLE= linux-systemd CONF_FILES+= ${PREFIX}/${EGDIR}/pkgsrc-rc.d-boot.service \ - /etc/systemd/system/pkgsrc-rc.d-boot.service + ${SLASH_TO_MOLLIFY_PKGLINT}etc/systemd/system/pkgsrc-rc.d-boot.service .elif ${OPSYS} == "Linux" && exists(/etc/rc.d/init.d) && exists(/sbin/chkconfig) RCDBOOT_STYLE= linux-sysv-redhat CONF_FILES_PERMS+= ${PREFIX}/${EGDIR}/pkgsrc-rc.d-boot \ @@ -80,13 +82,13 @@ do-extract: ${CP} -R ${FILESDIR} ${WRKSRC} do-install: -. for i in org.pkgsrc.rc.d-boot.plist \ - pkgsrc-rc.d-boot.service - ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${EGDIR}/ -. endfor -. for i in pkgsrc-rc.d-boot - ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${EGDIR}/ -. endfor +.for i in org.pkgsrc.rc.d-boot.plist \ + pkgsrc-rc.d-boot.service + ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${EGDIR}/ +.endfor +.for i in pkgsrc-rc.d-boot + ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${EGDIR}/ +.endfor ${INSTALL_SCRIPT} ${WRKSRC}/rc.d-boot ${DESTDIR}${PREFIX}/sbin/ .include "../../mk/bsd.pkg.mk" |