blob: 51db27ffceb1d854c87cbd6490c34da4acc5ca9c (
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
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.24 2004/05/08 15:08:06 minskim Exp $
DISTNAME= mlterm-2.8.0
PKGNAME= ${DISTNAME}pl1
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
PATCHFILES= ${DISTNAME}pl1.tar.gz
PATCH_SITES= ${MASTER_SITES}
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://mlterm.sourceforge.net/
COMMENT= Multilingual 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]-* NetBSD-1.[6-9]* \
NetBSD-[2-9]*
USE_BUILDLINK3= yes
USE_X11= yes
USE_LIBTOOL= yes
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-imagelib=imlib
CONFIGURE_ARGS+= --enable-anti-alias
CONFIGURE_ARGS+= --without-libiconv-prefix
SUBST_CLASSES+= link
SUBST_MESSAGE.link= "Fixing hardcoded paths and link options."
SUBST_STAGE.link= post-patch
SUBST_FILES.link= Makefile.in */Makefile.in \
*/*/Makefile.in */*/*/Makefile.in \
xwindow/x_screen.c xwindow/x_sb_view_factory.c \
mlterm/ml_config_menu.c man/mlterm.1
SUBST_SED.link= -e 's|-module|-R${X11BASE}/lib -module|g' \
-e 's|\(-[R]\)/usr/local/lib||g' \
-e 's|/usr/local/|${PREFIX}/|g' \
-e 's|/usr/X11R6/|${X11BASE}/|g'
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|