diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-08 11:31:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-08 11:31:18 +0000 |
commit | b5a34d3c3168fea6abe759cbf809ce4ec21de571 (patch) | |
tree | ebc71a589ad696b23e2a2c232b0b02a4b8a6cb80 /sysutils/runit | |
parent | b75eab0530d9f1e90fbb4304ae7ef738f9735282 (diff) | |
download | ports-b5a34d3c3168fea6abe759cbf809ce4ec21de571.tar.gz ports-b5a34d3c3168fea6abe759cbf809ce4ec21de571.zip |
Notes
Diffstat (limited to 'sysutils/runit')
-rw-r--r-- | sysutils/runit/Makefile | 16 | ||||
-rw-r--r-- | sysutils/runit/pkg-plist | 24 |
2 files changed, 14 insertions, 26 deletions
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile index 850ae604ac76..6e8fa3a0e6a4 100644 --- a/sysutils/runit/Makefile +++ b/sysutils/runit/Makefile @@ -27,7 +27,7 @@ CONFIG= etc/freebsd/1 etc/2 etc/freebsd/3 etc/freebsd/ctrlaltdel \ etc/freebsd/getty-ttyv4/run etc/freebsd/getty-ttyv4/finish post-patch: - ${REINPLACE_CMD} 's!/service/!${SERVICE_DIR}!' \ + ${REINPLACE_CMD} -i '' 's!/service/!${SERVICE_DIR}!' \ ${WRKSRC}/man/* ${WRKSRC}/src/sv.c do-configure: @@ -45,15 +45,15 @@ do-build: .endfor do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin - @${INSTALL_MAN} ${WRKSRC}/man/* ${STAGEDIR}${PREFIX}/man/man8/ + ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/man/* ${STAGEDIR}${PREFIX}/man/man8/ @${MKDIR} ${STAGEDIR}${ETCDIR}/getty-ttyv4 - @${INSTALL_SCRIPT} ${WRKDIR}/etc/[123c]* ${STAGEDIR}${ETCDIR} - @${INSTALL_SCRIPT} ${WRKDIR}/etc/getty-ttyv4/* \ + ${INSTALL_SCRIPT} ${WRKDIR}/etc/[123c]* ${STAGEDIR}${ETCDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/etc/getty-ttyv4/* \ ${STAGEDIR}${ETCDIR}/getty-ttyv4 @${MKDIR} ${STAGEDIR}${DOCSDIR} -. for doc in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} -. endfor +.for doc in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +.endfor .include <bsd.port.mk> diff --git a/sysutils/runit/pkg-plist b/sysutils/runit/pkg-plist index 0ce173649b87..2c5261e65c4d 100644 --- a/sysutils/runit/pkg-plist +++ b/sysutils/runit/pkg-plist @@ -1,21 +1,9 @@ -@unexec cmp -s %D/%%ETCDIR%%/1 %D/%%ETCDIR%%/1.sample && rm -f %D/%%ETCDIR%%/1 -%%ETCDIR%%/1.sample -@exec [ ! -f %D/%%ETCDIR%%/1 ] && cp -p %D/%F %B/1 -@unexec cmp -s %D/%%ETCDIR%%/2 %D/%%ETCDIR%%/2.sample && rm -f %D/%%ETCDIR%%/2 -%%ETCDIR%%/2.sample -@exec [ ! -f %D/%%ETCDIR%%/2 ] && cp -p %D/%F %B/2 -@unexec cmp -s %D/%%ETCDIR%%/3 %D/%%ETCDIR%%/3.sample && rm -f %D/%%ETCDIR%%/3 -%%ETCDIR%%/3.sample -@exec [ ! -f %D/%%ETCDIR%%/3 ] && cp -p %D/%F %B/3 -@unexec cmp -s %D/%%ETCDIR%%/ctrlaltdel %D/%%ETCDIR%%/ctrlaltdel.sample && rm -f %D/%%ETCDIR%%/ctrlaltdel -%%ETCDIR%%/ctrlaltdel.sample -@exec [ ! -f %D/%%ETCDIR%%/ctrlaltdel ] && cp -p %D/%F %B/ctrlaltdel -@unexec cmp -s %D/%%ETCDIR%%/getty-ttyv4/run %D/%%ETCDIR%%/getty-ttyv4/run.sample && rm -f %D/%%ETCDIR%%/getty-ttyv4/run -%%ETCDIR%%/getty-ttyv4/run.sample -@exec [ ! -f %D/%%ETCDIR%%/getty-ttyv4/run ] && cp -p %D/%F %B/run -@unexec cmp -s %D/%%ETCDIR%%/getty-ttyv4/finish %D/%%ETCDIR%%/getty-ttyv4/finish.sample && rm -f %D/%%ETCDIR%%/getty-ttyv4/finish -%%ETCDIR%%/getty-ttyv4/finish.sample -@exec [ ! -f %D/%%ETCDIR%%/getty-ttyv4/finish ] && cp -p %D/%F %B/finish +@sample %%ETCDIR%%/1.sample +@sample %%ETCDIR%%/2.sample +@sample %%ETCDIR%%/3.sample +@sample %%ETCDIR%%/ctrlaltdel.sample +@sample %%ETCDIR%%/getty-ttyv4/run.sample +@sample %%ETCDIR%%/getty-ttyv4/finish.sample man/man8/chpst.8.gz man/man8/runit-init.8.gz man/man8/runit.8.gz |