2000-11-27 14:38:24 +01:00
|
|
|
# New ports collection makefile for: scintilla
|
|
|
|
# Date created: 27 November 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/x11-toolkits/scintilla/Makefile,v 1.3 2006/09/17 21:58:56 marcus Exp $
|
2000-11-27 14:38:24 +01:00
|
|
|
|
|
|
|
PORTNAME= scintilla
|
2010-09-05 20:08:46 +02:00
|
|
|
PORTVERSION= 2.21
|
2000-11-27 14:38:24 +01:00
|
|
|
CATEGORIES= x11-toolkits
|
2009-08-26 22:33:08 +02:00
|
|
|
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION}
|
2000-11-27 17:55:35 +01:00
|
|
|
DISTNAME= scite${PORTVERSION:S/.//g}
|
2000-11-27 14:38:24 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-08-10 22:11:43 +02:00
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
2003-02-25 05:45:35 +01:00
|
|
|
COMMENT= A full-featured free source code editing component for GTK+
|
2000-11-27 14:38:24 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2006-01-26 05:25:54 +01:00
|
|
|
USE_ICONV= yes
|
2000-11-27 14:38:24 +01:00
|
|
|
MAKEFILE= makefile
|
2006-09-18 00:06:47 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-09-29 21:48:33 +02:00
|
|
|
USE_GNOME= gtk20
|
2010-04-05 19:14:21 +02:00
|
|
|
USE_GCC= 4.2+
|
2003-09-29 21:48:33 +02:00
|
|
|
|
2004-04-12 06:26:27 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
2005-02-03 21:05:48 +01:00
|
|
|
MAKE_ARGS+= PICFLAGS=-DPIC
|
|
|
|
.else
|
2005-10-16 08:45:04 +02:00
|
|
|
MAKE_ARGS+= PICFLAGS="-DPIC -fPIC -fpic"
|
2004-04-12 06:26:27 +02:00
|
|
|
.endif
|
|
|
|
|
2007-08-22 05:25:29 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|[(]CCOMP[)]|(CC)|g ; \
|
|
|
|
s| -Os||g' ${WRKSRC}/makefile
|
|
|
|
|
2000-11-27 14:38:24 +01:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/scintilla
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../include/*.h ${PREFIX}/include/scintilla
|
2009-08-14 02:29:27 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../bin/libscintilla.so.2 ${PREFIX}/lib
|
|
|
|
${LN} -sf ${PREFIX}/lib/libscintilla.so.2 ${PREFIX}/lib/libscintilla.so
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../bin/libscintilla_lexers.so.2 ${PREFIX}/lib
|
|
|
|
${LN} -sf ${PREFIX}/lib/libscintilla_lexers.so.2 ${PREFIX}/lib/libscintilla_lexers.so
|
2000-11-27 14:38:24 +01:00
|
|
|
|
2004-04-12 06:26:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|