2002-06-19 15:51:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2002/06/19 13:51:16 uebayasi Exp $
|
2001-12-21 12:33:28 +01:00
|
|
|
|
2002-06-19 15:51:16 +02:00
|
|
|
DISTNAME= mlterm-2.5.0
|
2001-12-21 12:33:28 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
|
|
|
|
|
2002-06-19 15:51:16 +02:00
|
|
|
MAINTAINER= uebayasi@netbsd.org
|
2001-12-21 12:33:28 +01:00
|
|
|
HOMEPAGE= http://mlterm.sourceforge.net/
|
|
|
|
COMMENT= Multingual terminal emulator
|
|
|
|
|
2001-12-30 21:19:56 +01:00
|
|
|
# CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
|
2002-06-19 15:51:16 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.5[T-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*
|
2001-12-30 21:19:56 +01:00
|
|
|
|
2001-12-21 12:33:28 +01:00
|
|
|
USE_BUILDLINK_ONLY= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2002-03-15 12:23:16 +01:00
|
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/mkf/autoconf/libtool
|
|
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/autoconf/libtool
|
|
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/kiklib/autoconf/libtool
|
|
|
|
|
2002-05-04 10:42:05 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-imlib
|
|
|
|
CONFIGURE_ARGS+=--enable-anti-alias
|
|
|
|
|
2002-03-15 12:23:16 +01:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | \
|
|
|
|
while read f; do \
|
|
|
|
${MV} $$f $${f}.orig; \
|
2002-05-04 10:42:05 +02:00
|
|
|
${SED} \
|
|
|
|
-e 's|\(-[IL]\)/usr/local|\1${BUILDLINK_DIR}|g' \
|
|
|
|
-e 's|\(-[IL]\)/usr/X11R6|\1${BUILDLINK_X11_DIR}|g' \
|
|
|
|
-e 's|\(-[R]\)/usr/local[^[:space:]][^[:space:]]*||g' \
|
2002-03-15 12:23:16 +01:00
|
|
|
$${f}.orig > $$f; \
|
|
|
|
done
|
2001-12-21 12:33:28 +01:00
|
|
|
|
|
|
|
.include "../../devel/glib/buildlink.mk"
|
2002-05-04 10:42:05 +02:00
|
|
|
.include "../../graphics/imlib/buildlink.mk"
|
2001-12-21 12:33:28 +01:00
|
|
|
.include "../../x11/gtk/buildlink.mk"
|
|
|
|
.include "../../mk/x11.buildlink.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|