aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/knutclient/Makefile
blob: a3c5840305a2cade198d9c544600f05c2614bb6a (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
# New ports collection makefile for:    KDE Nut Client
# Date created:             Mon Apr 28 05:30:59 UTC 2003
# Whom:                 Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   knutclient
PORTVERSION=    0.9.4
PORTREVISION=   3
CATEGORIES= sysutils kde
MASTER_SITES=   ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \
        http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/

MAINTAINER= rnejdl@ringofsaturn.com
COMMENT=    A visual client for UPS system NUT

MAKE_JOBS_UNSAFE=   yes

USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool automake:env aclocal:env
CONFIGURE_ARGS= --disable-fast-perl --enable-mt --program-transform-name=''

post-patch:
    @${REINPLACE_CMD} -E \
        -e 's|-O2||' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
        -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
        ${WRKSRC}/admin/libtool.m4.in

.include <bsd.port.mk>