aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/metalog/Makefile
blob: 871d603e7bf214a003ff9d17757f4138ccc6f52d (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
# New ports collection makefile for:    metalog
# Date Created:             27 Aug 2002
# Whom:                 Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=   metalog
PORTVERSION=    0.7b
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/b/beta/}
EXTRACT_SUFX=   .tgz

MAINTAINER= sergei@kolobov.com

LIB_DEPENDS=    pcre.0:${PORTSDIR}/devel/pcre

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN8=       metalog.8
DOCS=       COPYING NEWS README

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/metalog.conf ${EXAMPLESDIR}
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>