1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/aterm/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

77 lines
1.6 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.0
PORTREVISION= 2
CATEGORIES+= x11 # `+=' is for slave ports
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= A color vt102 terminal emulator with transparency support
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
# `+=' is for slave ports
CONFIGURE_ARGS+= --enable-transparency \
--enable-fading --enable-utmp --enable-wtmp \
--without-afterstep-config
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.if !defined(WITHOUT_BACKGROUND_IMAGE)
LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage
CONFIGURE_ARGS+= --enable-background-image
.endif
.if !defined(WITHOUT_PNG)
CONFIGURE_ARGS+= --with-png
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
.else
CONFIGURE_ARGS+= --with-png=no
.endif
.if !defined(WITHOUT_JPEG)
CONFIGURE_ARGS+= --with-jpeg
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
.else
CONFIGURE_ARGS+= --with-jpeg=no
.endif
.if !defined(WITH_BSDEL)
CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key
.endif
.if defined(WITH_MENUBAR)
CONFIGURE_ARGS+= --enable-menubar
.endif
.if defined(WITH_NEXTSCROLL)
CONFIGURE_ARGS+= --enable-next-scroll
.endif
.if defined(WITH_KANJI)
CONFIGURE_ARGS+= --enable-kanji
.endif
.if defined(WITH_BIG5)
CONFIGURE_ARGS+= --enable-big5
.endif
.if defined(WITH_GREEK)
CONFIGURE_ARGS+= --enable-greek
.endif
MAN1= aterm.1
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/aterm
.include <bsd.port.mk>