blob: 069a431b9e3fe18be9e267933fc68fcba4f427d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.5 2002/05/04 08:42:05 uebayasi Exp $
DISTNAME= mlterm-2.4.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
MAINTAINER= uebayasi@soum.co.jp
HOMEPAGE= http://mlterm.sourceforge.net/
COMMENT= Multingual terminal emulator
# CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
ONLY_FOR_PLATFORM= NetBSD-1.5[T-Z]-* NetBSD-1.5Z[A-Z]-*
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE+= ${WRKSRC}/mkf/autoconf/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/autoconf/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/kiklib/autoconf/libtool
CONFIGURE_ARGS+=--enable-imlib
CONFIGURE_ARGS+=--enable-anti-alias
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | \
while read f; do \
${MV} $$f $${f}.orig; \
${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' \
$${f}.orig > $$f; \
done
.include "../../devel/glib/buildlink.mk"
.include "../../graphics/imlib/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|