2001-04-17 19:50:24 +02:00
|
|
|
# New ports collection makefile for: mp
|
|
|
|
# Date created: Apr 12, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mp
|
2006-11-26 18:55:35 +01:00
|
|
|
PORTVERSION= 3.3.18b
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 2
|
2001-04-17 19:50:24 +02:00
|
|
|
CATEGORIES= editors
|
2009-02-02 06:57:58 +01:00
|
|
|
MASTER_SITES= http://triptico.com/download/
|
2001-04-17 19:50:24 +02:00
|
|
|
|
2010-09-24 11:49:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-22 17:18:35 +01:00
|
|
|
COMMENT= A programming text editor
|
2001-04-17 19:50:24 +02:00
|
|
|
|
2005-11-17 09:05:28 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= config.sh
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --without-win32
|
|
|
|
|
|
|
|
OPTIONS= CURSES "Build with ncurses support" on \
|
|
|
|
NLS "Native language support" on \
|
|
|
|
GTK1 "Build with GTK1 support" off \
|
|
|
|
GTK2 "Build with GTK2 support" off \
|
|
|
|
PCRE "Build with PCRE support" on
|
|
|
|
|
|
|
|
MAN1= mp.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-10-04 01:00:29 +02:00
|
|
|
.if !defined(WITH_CURSES)
|
2005-11-17 09:05:28 +01:00
|
|
|
CONFIGURE_ARGS+= --without-curses
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GTK1) || defined(WITH_GTK2)
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
|
|
|
|
.if defined(WITH_GTK1) && !defined(WITH_GTK2)
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gtk1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GTK2)
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gtk2
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gtk
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gettext
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PCRE)
|
|
|
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-pcre
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/makefile.in
|
2001-04-17 19:50:24 +02:00
|
|
|
|
2005-11-17 09:05:28 +01:00
|
|
|
.include <bsd.port.post.mk>
|