diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2012-03-10 16:48:22 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2012-03-10 16:48:22 +0000 |
commit | 120a30a80df82922d74d81f8d3433bae9398a084 (patch) | |
tree | cfccbb51540b8f506461e8c379a391742e7cd1d8 /security/snort | |
parent | 721fd2dc6b55ef01fa7d6e1cb74a080d21280a13 (diff) |
Notes
Diffstat (limited to 'security/snort')
-rw-r--r-- | security/snort/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index 7b578cd61d5f..9e4fab3a140c 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -227,17 +227,18 @@ pre-install: post-install: @${LIBTOOL} --finish ${LOCALBASE}/lib/snort/dynamicpreprocessor [ -d ${CONFIG_DIR} ] || ${MKDIR} ${CONFIG_DIR} - [ -d ${EXAMPLESDIR} ] || ${MKDIR} ${EXAMPLESDIR} [ -d ${RULES_DIR} ] || ${MKDIR} ${RULES_DIR} [ -d ${LOGS_DIR} ] || ${MKDIR} ${LOGS_DIR} +.if !defined(NOPORTEXAMPLES) + [ -d ${EXAMPLESDIR} ] || ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/schemas/create* ${EXAMPLESDIR} +.endif .for f in ${CONFIG_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${CONFIG_DIR}/${f}-sample - ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${EXAMPLESDIR}/${f}-sample @if [ ! -f ${CONFIG_DIR}/${f} ]; then \ ${CP} -p ${CONFIG_DIR}/${f}-sample ${CONFIG_DIR}/${f} ; \ fi .endfor - ${INSTALL_DATA} ${WRKSRC}/schemas/create* ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |