mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
![Doug Barton](/assets/img/avatar_default.png)
1. There are no slave ports, so remove the mechanism for that 2. Update CONFIGURE_ARGS 3. Add OPTIONS support 4. Remove knobs for some things that were not actually used by configure 5. Add knobs for other things 6. Default transparency support, mouse support, and bsd-style del/bksp support to on, as previously; but default background image support to off. With modern window managers it's problematic, and needlessly bloats the binary. 7. Switch to PLIST_FILES for the one file installed, the chmod doesn't seem to have any effect one way or the other. 8. Add a bunch of patches from the debian repo which slightly improve support for modern WMs. Bump PORTREVISION Approved by: maintainer timeout
87 lines
1.9 KiB
Makefile
87 lines
1.9 KiB
Makefile
# New ports collection makefile for: aterm
|
|
# Date created: 17 January 1999
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aterm
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= x11
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= dougb@FreeBSD.org
|
|
COMMENT= A color vt102 terminal emulator with transparency support
|
|
|
|
USE_XORG= xpm
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-wtmp \
|
|
--enable-xgetdefault \
|
|
--disable-memset \
|
|
--disable-swapscreen \
|
|
--disable-thai \
|
|
--without-afterstep-config
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
OPTIONS= TRANS "Transparency support" on \
|
|
BSDEL "BSD-style backspace and delete" on \
|
|
MOUSE "Mousewheel support" on \
|
|
BGIMG "XPM, JPEG, PNG backgrounds" off \
|
|
KANJI "Kanji (EUC-JP or SJIS) support" off \
|
|
BIG5S "Chinese character support (BIG5)" off \
|
|
GREEK "Greek keyboard support" off
|
|
|
|
MAN1= aterm.1
|
|
|
|
PLIST_FILES= bin/aterm
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${OSVERSION} > 900007
|
|
CONFIGURE_ARGS+= --disable-utmp
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-utmp
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_TRANS)
|
|
CONFIGURE_ARGS+= --enable-transparency
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-transparency
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_BSDEL)
|
|
CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-backspace-key --enable-delete-key
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_MOUSE)
|
|
CONFIGURE_ARGS+= --enable-mousewheel
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-mousewheel
|
|
.endif
|
|
|
|
.if defined(WITH_BGIMG)
|
|
LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage \
|
|
png.6:${PORTSDIR}/graphics/png \
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg
|
|
CONFIGURE_ARGS+= --with-afterimage-config --with-png --with-jpeg
|
|
.else
|
|
CONFIGURE_ARGS+= --without-afterimage-config --with-png=no --with-jpeg=no
|
|
.endif
|
|
|
|
.if defined(WITH_KANJI)
|
|
CONFIGURE_ARGS+= --enable-kanji
|
|
.endif
|
|
|
|
.if defined(WITH_BIG5S)
|
|
CONFIGURE_ARGS+= --enable-big5
|
|
.endif
|
|
|
|
.if defined(WITH_GREEK)
|
|
CONFIGURE_ARGS+= --enable-greek
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|