freebsd-ports/textproc/kdiff3/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

36 lines
726 B
Makefile

# New ports collection makefile for: kdiff3
# Date created: 2003/01/03
# Whom: Heiner Eichmann <h.eichmann@gmx.de>
#
# $FreeBSD$
#
PORTNAME= kdiff3
PORTVERSION= 0.9.88
PORTREVISION= 1
CATEGORIES= textproc kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= h.eichmann@gmx.de
COMMENT= A KDE3 graphical frontend for diff
USE_KDELIBS_VER= 3
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:13:inc
USE_REINPLACE= yes
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
MAN1= kdiff3.1
pre-configure:
.for i in config.h.in Makefile.in
${TOUCH} ${WRKSRC}/${i}
.endfor
post-patch:
@${REINPLACE_CMD} -e 's|-O2 ||g; s|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>