freebsd-ports/x11-toolkits/fxscintilla/Makefile
Pav Lucistnik 22062658cb - Update fxscintilla to 1.62
This version supports both FOX 1.0 and FOX 1.2, and the port use FOX 1.2
  by default. FOX 1.0 version is available under OPTIONS
- Add slave port fxscintilla-fox10
- Switch ruby-fox port to fxscintilla-fox10

PR:		ports/75160
Submitted by:	Alexander Novitsky <alecn2002@yandex.ru> (fxscintilla maintainer)
2004-12-18 22:38:38 +00:00

39 lines
954 B
Makefile

# New ports collection makefile for: fxscintilla
# Date created: 16 June 2004
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= fxscintilla
PORTVERSION= 1.62
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= alecn2002@yandex.ru
COMMENT= A Fox toolkit reimplementation of Scintilla editing widget
GNU_CONFIGURE= yes
USE_LIBTOOL_VER= 15
USE_REINPLACE= yes
CONFIGURE_ARGS+= --enable-shared --disable-static
INSTALLS_SHLIB= yes
OPTIONS= FOX10 "FOX1.0 support (FOX1.2 by default)" off
.include <bsd.port.pre.mk>
.if defined(WITH_FOX10)
LIB_DEPENDS+= FOX-1.0.0:${PORTSDIR}/x11-toolkits/fox
CONFIGURE_ARGS= --with-fox-1-0
.else
LIB_DEPENDS+= FOX-1.2:${PORTSDIR}/x11-toolkits/fox-devel
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lFOX-1.2|"-lFOX-1.2 ${PTHREAD_LIBS}"|' \
${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in
.include <bsd.port.post.mk>