freebsd-ports/x11-toolkits/fxscintilla/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: fxscintilla
# Date created: 16 June 2004
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= fxscintilla
PORTVERSION= 1.71
PORTREVISION= 12
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= araujo@FreeBSD.org
COMMENT= A Fox toolkit reimplementation of Scintilla editing widget
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS+= --enable-shared --disable-static
USE_LDCONFIG= yes
.if !defined(MASTERDIR)
OPTIONS= FOX12 "FOX1.2 support (FOX1.6 by default)" off
OPTIONS+= FOX14 "FOX1.4 support (FOX1.6 by default)" off
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_FOX12)
FOX_LIB_VER= 1.2
LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox12
CONFIGURE_ARGS+= --with-fox-1-2
.elif defined(WITH_FOX14)
FOX_LIB_VER= 1.4
LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox14
CONFIGURE_ARGS+= --with-fox-1-4
.else
FOX_LIB_VER= 1.6
LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox16
CONFIGURE_ARGS+= --with-fox-1-6
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lFOX-${FOX_LIB_VER}|"-lFOX-${FOX_LIB_VER} ${PTHREAD_LIBS}"|' \
${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in
.include <bsd.port.post.mk>