summaryrefslogtreecommitdiff
path: root/wm/amiwm/Makefile
blob: ba926fbbe0d5eb61ef9bcbdd07b8b2cffc6e032d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.25 2009/05/19 08:59:36 wiz Exp $
#

DISTNAME=	amiwm0.20pl48
PKGNAME=	amiwm-0.20p48
PKGREVISION=	3
CATEGORIES=	x11 wm
MASTER_SITES=	ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.lysator.liu.se/~marcus/amiwm.html
COMMENT=	X window manager with Amiga look and feel
LICENSE=	amiwm-license

RESTRICTED=	Distribution limited to non-commercial purposes, unmodified binaries only.
NO_BIN_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	ksh:run yacc lex
REPLACE_KSH=	Xsession.in Xsession2.in

.include "../../mk/bsd.prefs.mk"

GNU_CONFIGURE=	yes
CFLAGS+=	-DHAVE_X11_EXTENSIONS_SHAPE_H=1
CFLAGS+=	-O
CONFIGURE_ENV+=	CFLAGS=${CFLAGS:M*:Q}
CONFIGURE_ENV+=	X_PRE_LIBS=${X_PRE_LIBS:Q}
CONFIGURE_ENV+=	X_EXTRA_LIBS=-lXt

X_PRE_LIBS=	${COMPILER_RPATH_FLAG}${X11BASE}/lib
FIX_RPATH+=	X_PRE_LIBS

INSTALLATION_DIRS=	bin

INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX} \
			mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"