1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/sysutils/knutclient/Makefile
Rong-En Fan d195919c3d - Update to 0.9.4
- Remove duplicate USE_GMAKE line
- Add --disable-fast-perl to avoid a warning at configure time. This option
  is used to do faster Makefile generation.
- For unknown reason, at build stage, the Makefile tries to rebuild
  configure script (it happens before, but at this version, it breaks
  build). Add necessary evils (automake dependency and libtool hacks from
  bsd.autotools.mk) to make this port build in a tinderbox env.

PR:		ports/125343
Submitted by:	Rusty Nejdl <rnejdl at ringofsaturn.com> (maintainer)
2008-07-12 07:25:58 +00:00

33 lines
963 B
Makefile

# 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
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
BUILD_DEPENDS= automake>=0:${PORTSDIR}/devel/automake19
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
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>