Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= logcheck |
8 |
PORTNAME= logcheck |
9 |
PORTVERSION= 1.1.1 |
9 |
PORTVERSION= 1.1.1 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= security |
11 |
CATEGORIES= security |
12 |
MASTER_SITES= ftp://sensimilia.eu.org/pub/software/sys/ \ |
12 |
MASTER_SITES= ftp://sensimilia.eu.org/pub/software/sys/ \ |
13 |
http://www.ukc.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \ |
13 |
http://www.ukc.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \ |
Lines 42-55
Link Here
|
42 |
do-install: |
42 |
do-install: |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/src/logtail ${PREFIX}/bin |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/src/logtail ${PREFIX}/bin |
44 |
${INSTALL_SCRIPT} ${WRKSRC}/systems/freebsd/logcheck.sh ${PREFIX}/etc |
44 |
${INSTALL_SCRIPT} ${WRKSRC}/systems/freebsd/logcheck.sh ${PREFIX}/etc |
45 |
${MKDIR} ${EXAMPLESDIR} |
45 |
@${MKDIR} ${EXAMPLESDIR} |
46 |
cd ${WRKSRC}/systems/freebsd && \ |
46 |
.for file in ${CONFIG_FILES} |
47 |
${INSTALL_DATA} ${CONFIG_FILES} ${EXAMPLESDIR} && \ |
47 |
@${INSTALL_DATA} ${WRKSRC}/systems/freebsd/${file} ${EXAMPLESDIR} |
48 |
${INSTALL_DATA} ${CONFIG_FILES} ${PREFIX}/etc |
48 |
@${TEST} -f ${PREFIX}/etc/${file} || \ |
|
|
49 |
${INSTALL_DATA} ${WRKSRC}/systems/freebsd/${file} ${PREFIX}/etc |
50 |
.endfor |
49 |
${TEST} -d ${LOGCHECK_TMP} || ${MKDIR} -m 700 ${LOGCHECK_TMP} |
51 |
${TEST} -d ${LOGCHECK_TMP} || ${MKDIR} -m 700 ${LOGCHECK_TMP} |
50 |
${CHOWN} root:wheel ${LOGCHECK_TMP} |
52 |
${CHOWN} root:wheel ${LOGCHECK_TMP} |
51 |
.if !defined(NOPORTDOCS) |
53 |
.if !defined(NOPORTDOCS) |
52 |
${MKDIR} ${DOCSDIR} |
54 |
@${MKDIR} ${DOCSDIR} |
53 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
55 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
54 |
.endif |
56 |
.endif |
55 |
|
57 |
|