diff options
author | sborrill <sborrill@pkgsrc.org> | 2018-01-18 16:26:05 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2018-01-18 16:26:05 +0000 |
commit | 8090f591ffe0a4931a1ca18a2283a7ec00b654e0 (patch) | |
tree | 1832e390fcf88cc56a347027d7aac190f40db65d /security/lynis | |
parent | f944ee6f06e14094ecfe625faaf561494f54224e (diff) | |
download | pkgsrc-8090f591ffe0a4931a1ca18a2283a7ec00b654e0.tar.gz |
Make sure .orig files aren't installed
Diffstat (limited to 'security/lynis')
-rw-r--r-- | security/lynis/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/lynis/Makefile b/security/lynis/Makefile index 7cf88ace4c3..dca78734841 100644 --- a/security/lynis/Makefile +++ b/security/lynis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2018/01/15 12:38:37 sborrill Exp $ +# $NetBSD: Makefile,v 1.2 2018/01/18 16:26:05 sborrill Exp $ # DISTNAME= lynis-2.5.9 @@ -11,7 +11,7 @@ COMMENT= Perform security health scans for Linux, macOS, and Unix LICENSE= gnu-gpl-v3 NO_BUILD= yes -USE_TOOLS+= pax +USE_TOOLS+= pax rm SUBST_CLASSES+= libdir SUBST_STAGE.libdir= pre-install @@ -41,7 +41,7 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE} BUILD_DEFS+= PKG_SYSCONFBASE BUILD_DEFS+= VARBASE -AUTO_MKDIRS= yes +AUTO_MKDIRS= yes PKG_SYSCONFSUBDIR= lynis CONF_FILES+= share/examples/lynis/default.prf \ @@ -63,6 +63,8 @@ do-install: cd ${WRKSRC}/extras && \ ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/extras cd ${WRKSRC}/include && \ + ${RM} *.orig + cd ${WRKSRC}/include && \ ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/include cd ${WRKSRC}/plugins && \ ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/plugins |