2006-04-04 12:28:14 +00:00
|
|
|
# New ports collection Makefile for: geany
|
|
|
|
# Date Created: 15 Jan 06
|
|
|
|
# Whom: Remington Lang <MrL0Lz@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= geany
|
2006-10-08 17:06:06 +00:00
|
|
|
PORTVERSION= 0.9
|
2006-04-04 12:28:14 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= MrL0Lz@gmail.com
|
|
|
|
COMMENT= A fast and lightweight GTK+ IDE
|
|
|
|
|
2006-10-08 17:06:06 +00:00
|
|
|
USE_X_PREFIX= no
|
2006-04-04 12:28:14 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-08-31 20:20:46 +00:00
|
|
|
USE_GNOME= gtk20
|
2006-04-04 12:28:14 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2006-08-31 20:20:46 +00:00
|
|
|
OPTIONS= VTE "With vte" On
|
|
|
|
|
2006-10-08 17:06:06 +00:00
|
|
|
MAN1= geany.1
|
|
|
|
|
2006-08-31 20:20:46 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_VTE)
|
|
|
|
CONFIGURE_ARGS+=--disable-vte
|
|
|
|
.else
|
|
|
|
USE_GNOME+= vte
|
|
|
|
CONFIGURE_ARGS+=--enable-vte
|
|
|
|
.endif
|
|
|
|
|
2006-04-04 12:28:14 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS}|' ${WRKSRC}/scintilla/Makefile.in
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2006-10-08 17:06:06 +00:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|po||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2006-04-04 12:28:14 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/geany.desktop ${PREFIX}/share/applications
|
|
|
|
|
2006-10-08 17:06:06 +00:00
|
|
|
.if ${OSVERSION} < 500036
|
|
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-*
|
|
|
|
.endif
|
|
|
|
|
2006-08-31 20:20:46 +00:00
|
|
|
.include <bsd.port.post.mk>
|