blob: 028fa300bdd18e91032f02d239511a7e4c630f02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection Makefile for: osiris
# Date created: 10, February 2003
# Whom: Nicolas Jombart <ecu@ipv42.net>
#
# $FreeBSD$
#
PORTNAME= osiris
PORTVERSION= 1.5.2
CATEGORIES= security
MASTER_SITES= http://osiris.shmoo.com/data/
MAINTAINER= ecu@ipv42.net
COMMENT= File integrity checking, with GDBM and MySQL support
.if defined(WITH_MYSQL)
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} \
--enable-module=mysql
.else
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} \
--with-module-lib=${LOCALBASE}/lib \
--with-module-includes=${LOCALBASE}/include
.endif
NO_CDROM= This software can not be sold.
GNU_CONFIGURE= yes
USE_LIBTOOL_VER=13
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= osiris.1 scale.1
pre-configure:
@${ECHO_MSG} ""
@${ECHO_MSG} "Set WITH_MYSQL to get MySQL support."
@${ECHO_MSG} ""
post-install:
${INSTALL_DATA} ${WRKSRC}/configs/osiris-freebsd-4.4.conf \
${PREFIX}/etc/osiris.conf-sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in docs/manual.html docs/manual.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|