2005-04-13 13:47:35 +02:00
|
|
|
# New ports collection makefile for: Titano
|
2000-09-25 14:28:41 +02:00
|
|
|
# Date created: 25 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= titano
|
2005-04-13 13:47:35 +02:00
|
|
|
PORTVERSION= 0.0.7
|
2000-09-25 14:28:41 +02:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2005-04-13 13:47:35 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= An IDE for GNOME desktop
|
2000-09-25 14:28:41 +02:00
|
|
|
|
2005-04-13 13:47:35 +02:00
|
|
|
LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode
|
2000-09-25 14:28:41 +02:00
|
|
|
|
2002-06-25 20:36:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2005-04-13 13:47:35 +02:00
|
|
|
USE_GNOME= gnomelibs libglade
|
2000-09-25 14:28:41 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER= 13
|
2000-09-25 14:28:41 +02:00
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-13 13:47:35 +02:00
|
|
|
.if ${OSVERSION} > 500034
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/gcc3-*
|
2003-06-05 00:43:38 +02:00
|
|
|
.endif
|
|
|
|
|
2005-04-13 13:47:35 +02:00
|
|
|
pre-patch: .SILENT
|
|
|
|
${REINPLACE_CMD} -e 's|malloc\.h|stdlib\.h|' \
|
|
|
|
${WRKSRC}/src/scintilla/PosRegExp.cxx
|
|
|
|
${REINPLACE_CMD} -e 's|^INCLUDES.*$$|&$$(LIBGLADE_CFLAGS)|' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
${REINPLACE_CMD} -E 's|(POTFILES\.in )\\$$|\1--from-code=koi8-r \\|' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
|
|
|
# Now, take care of CC/CFLAGS
|
|
|
|
${REINPLACE_CMD} -e 's|cc -Wall -ggdb $$(OPTIMIZE)|${CC} ${CFLAGS}|' \
|
|
|
|
${WRKSRC}/src/gtkeditor/tktext-port/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS}|' \
|
|
|
|
${WRKSRC}/src/scanners/Makefile.in
|
|
|
|
${REINPLACE_CMD} -E 's|^(CXXFLAGS).*$$|\1 += -DGTK -DSCI_LEXER|' \
|
|
|
|
${WRKSRC}/src/scintilla/Makefile.in
|
2000-09-25 14:28:41 +02:00
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|