d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2006/12/27 13:37:42 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= aterm-1.0.0
|
|
PKGREVISION= 3
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.afterstep.org/aterm.php
|
|
COMMENT= Aterm (Afterstep XVT) - a VT102 emulator for the X window system
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+=--enable-background-image \
|
|
--enable-transparency \
|
|
--enable-fading \
|
|
--enable-graphics \
|
|
--with-xpm \
|
|
--with-xpm-includes=${BUILDLINK_PREFIX.libXpm}/include \
|
|
--with-xpm-library=${BUILDLINK_PREFIX.libXpm}/lib \
|
|
--with-jpeg \
|
|
--with-jpeg-includes=${BUILDLINK_PREFIX.jpeg}/include \
|
|
--with-jpeg-library=${BUILDLINK_PREFIX.jpeg}/lib \
|
|
--with-png \
|
|
--with-png-library=${BUILDLINK_PREFIX.png}/lib \
|
|
--with-png-includes=${BUILDLINK_PREFIX.png}/include \
|
|
--enable-utmp \
|
|
--enable-wtmp
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin"
|
|
# Make aterm setuid root so that tty ownership setting and utmp logging
|
|
# function correctly.
|
|
#
|
|
CONFIGURE_ARGS+= --enable-ttygid
|
|
SPECIAL_PERMS= ${PREFIX}/bin/aterm ${SETUID_ROOT_PERMS}
|
|
.endif
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|