diff options
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 22 | ||||
-rw-r--r-- | x11/aterm/Makefile | 29 |
2 files changed, 44 insertions, 7 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk index 75e6e212112..a2f40c51b72 100644 --- a/mk/bsd.pkg.defaults.mk +++ b/mk/bsd.pkg.defaults.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.defaults.mk,v 1.122 2002/12/28 17:14:10 kristerw Exp $ +# $NetBSD: bsd.pkg.defaults.mk,v 1.123 2003/01/02 05:55:11 hubertf Exp $ # # A file providing defaults for pkgsrc and the packages collection. @@ -467,6 +467,26 @@ ARLA_CACHE?= ${LOCALBASE}/cache # Specifies the location of the cache used by arla. Should be on a local disk. # Default: ${LOCALBASE}/cache +ATERM_USE_KANJI?= NO +# Enable kanji support in aterm +# Possible: YES or undefined or anything else +# Default: NO + +ATERM_USE_BIG5?= NO +# Enable chinese support in aterm (?) +# Possible: YES or undefined or anything else +# Default: NO + +ATERM_USE_XTERM_SCROLL?= NO +# Use xterm scrollbar instead of NeXT-like +# Possible: YES or undefined or anything else +# Default: NO + +ATERM_USE_GREEK?= NO +# Enable greek keyboard support +# Possible: YES or undefined or anything else +# Default: NO + #AVIFILE_USE_QT= YES # Enable support for qt2 in avifile-devel package. These utilities will be built # in addition to non-qt version: avi{bench,cat,make,recompress,type}. diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index d045f2876cf..ea9bd2264f7 100644 --- a/x11/aterm/Makefile +++ b/x11/aterm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2002/08/25 21:52:30 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2003/01/02 05:55:12 hubertf Exp $ # DISTNAME= aterm-0.4.2 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/} @@ -13,14 +13,15 @@ COMMENT= aterm (Afterstep XVT) - a VT102 emulator for the X window system USE_BUILDLINK2= YES USE_X11= YES GNU_CONFIGURE= YES +BUILD_DEFS+= ATERM_USE_KANJI ATERM_USE_XTERM_SCROLL +BUILD_DEFS+= ATERM_USE_BIG5 ATERM_USE_GREEK + +.include "../../mk/bsd.prefs.mk" + CONFIGURE_ARGS+=--enable-background-image \ --enable-transparency \ --enable-fading \ --enable-graphics \ - --enable-xterm-scroll \ - --enable-kanji \ - --enable-big5 \ - --enable-greek \ --with-xpm \ --with-xpm-includes=${BUILDLINK_PREFIX.xpm}/include \ --with-xpm-library=${BUILDLINK_PREFIX.xpm}/lib \ @@ -33,6 +34,22 @@ CONFIGURE_ARGS+=--enable-background-image \ --enable-utmp \ --enable-wtmp +.if defined(ATERM_USE_XTERM_SCROLL) && ${ATERM_USE_XTERM_SCROLL} != NO +CONFIGUE_ARGS+=--enable-xterm-scroll +.endif + +.if defined(ATERM_USE_KANJI) && ${ATERM_USE_KANJI} != NO +CONFIGURE_ARGS+=--enable-kanji +.endif + +.if defined(ATERM_USE_BIG5) && ${ATERM_USE_BIG5} != NO +CONFIGURE_ARGS+=--enable-big5 +.endif + +.if defined(ATERM_USE_GREEK) && ${ATERM_USE_GREEK} != NO +CONFIGURE_ARGS+=--enable-greek +.endif + .include "../../graphics/jpeg/buildlink2.mk" .include "../../graphics/png/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" |