7166660e08
dependency bumps.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2003/05/02 11:57:28 wiz Exp $
|
|
|
|
DISTNAME= mlterm-2.6.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
|
|
|
|
MAINTAINER= uebayasi@netbsd.org
|
|
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]-* NetBSD-1.[6-9]*
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_X11= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_GMAKE= yes
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/mkf/autoconf/libtool
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/autoconf/libtool
|
|
LIBTOOL_OVERRIDE+= ${WRKSRC}/kiklib/autoconf/libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-imagelib=imlib
|
|
.if exists(${X11BASE}/lib/libXft.a)
|
|
CONFIGURE_ARGS+= --enable-anti-alias
|
|
.endif
|
|
|
|
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/buildlink2.mk"
|
|
.include "../../graphics/imlib/buildlink2.mk"
|
|
.include "../../x11/gtk/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|