aboutsummaryrefslogtreecommitdiff
path: root/security/osiris
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-26 14:54:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-26 14:54:07 +0000
commit026b910b63571689d92a3be3fe498e8d50409204 (patch)
tree44e8cef999d6212e7de4fdccab1da19f9e446d84 /security/osiris
parentcbb09814f7d0ec19474553adea53a343790ca383 (diff)
downloadports-026b910b63571689d92a3be3fe498e8d50409204.tar.gz
ports-026b910b63571689d92a3be3fe498e8d50409204.zip
Notes
Diffstat (limited to 'security/osiris')
-rw-r--r--security/osiris/Makefile20
-rw-r--r--security/osiris/pkg-plist1
2 files changed, 9 insertions, 12 deletions
diff --git a/security/osiris/Makefile b/security/osiris/Makefile
index 1777c96c4f51..05fa3588058c 100644
--- a/security/osiris/Makefile
+++ b/security/osiris/Makefile
@@ -29,20 +29,19 @@ CLI_DESC= Management CLI
LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline
.endif
-post-build:
-.if ${PORT_OPTIONS:MPRINTDB}
+post-build-PRINTDB-on:
cd ${WRKSRC}/src/tools && ${MAKE}
-.endif
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/osiris
-.if ${PORT_OPTIONS:MCLI}
+
+do-install-CLI-on:
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/osiris ${STAGEDIR}${PREFIX}/sbin
-.endif
-.if ${PORT_OPTIONS:MPRINTDB}
+
+do-install-PRINTDB-on:
${INSTALL_PROGRAM} ${WRKSRC}/src/tools/printdb ${STAGEDIR}${PREFIX}/bin
-.endif
-.if ${PORT_OPTIONS:MOSIRISD}
+
+do-install-OSIRISD-on:
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \
${WRKSRC}/src/install/freebsd/osirisd.in > \
@@ -50,8 +49,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/osirisd/osirisd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirisd.sh \
${STAGEDIR}${PREFIX}/etc/rc.d
-.endif
-.if ${PORT_OPTIONS:MOSIRISMD}
+
+do-install-OSIRISMD-on:
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \
${WRKSRC}/src/install/freebsd/osirismd.in > \
@@ -67,6 +66,5 @@ do-install:
${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh \
${STAGEDIR}${PREFIX}/etc/rc.d
-.endif
.include <bsd.port.post.mk>
diff --git a/security/osiris/pkg-plist b/security/osiris/pkg-plist
index c8fd37752f29..0042dcec27d3 100644
--- a/security/osiris/pkg-plist
+++ b/security/osiris/pkg-plist
@@ -28,4 +28,3 @@
%%OSIRISMD%%osiris/configs/default.wrt54g
%%OSIRISMD%%@owner
%%OSIRISMD%%@group
-%%OSIRISMD%%@dirrm osiris/configs