blob: b44c95664c9c968cbf880140037bc287c4e109c5 (
plain)
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
|
# New ports collection makefile for: oops
# Date created: 15 August 2000
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
#
# $FreeBSD$
#
PORTNAME= oops
PORTVERSION= 1.5.5
CATEGORIES= www
MASTER_SITES= http://zipper.paco.net/~igor/oops/
MAINTAINER= ozz@FreeBSD.org.ru
LIB_DEPENDS= gigabase_r.2:${PORTSDIR}/databases/gigabase
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \
--sysconfdir=${PREFIX}/etc/oops \
--localstatedir=/var/run \
--libdir=${PREFIX}/libexec/oops \
--enable-oops-user=oops
MAN8= oops.8 oopsctl.8
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.pre.mk>
post-install:
@${INSTALL_MAN} ${WRKSRC}/doc/oops.8 ${PREFIX}/man/man8
@${INSTALL_MAN} ${WRKSRC}/doc/oopsctl.8 ${PREFIX}/man/man8
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Sample of configuration file placed at ${PREFIX}/etc/oops !"
@ ${ECHO} "Copy oops.cfg.sample to oops.cfg, then run server..."
@ ${ECHO} "------------------------------------------------------------"
@if [ ! -f ${PREFIX}/etc/rc.d/oops.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/oops.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/oops.sh ${PREFIX}/etc/rc.d/oops.sh; \
fi
.include <bsd.port.post.mk>
|