summaryrefslogtreecommitdiff
path: root/x11/antiright/Makefile
blob: 09718d2697766015a0dc951adf689a4013a7ac07 (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
46
47
48
# $NetBSD: Makefile,v 1.16 2012/02/06 12:41:55 wiz Exp $
#

DISTNAME=	antiright-3.4
PKGREVISION=	11
CATEGORIES=	x11
MASTER_SITES=	http://download.savannah.nongnu.org/releases/antiright/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	antiright@gmail.com
HOMEPAGE=	http://www.nongnu.org/antiright/
COMMENT=	The gtkshell GUI creator, gshterm, and ACE desktop implementation

MAKE_JOBS_SAFE=		no

PKG_DESTDIR_SUPPORT=	user-destdir

HAS_CONFIGURE=	YES
USE_LANGUAGES=	c
USE_TOOLS+=	pkg-config lex yacc

CPPFLAGS+=	-I${BUILDLINK_PREFIX.boehm-gc}/include/gc

SUBST_CLASSES+=		mandir
SUBST_STAGE.mandir=	pre-configure
SUBST_MESSAGE.mandir=	Fixing manual directory references.
SUBST_FILES.mandir=	Makefile
SUBST_SED.mandir=	\
	-e 's|^\(mandir[	 :]*=\).*|\1${PREFIX}/${PKGMANDIR}|'

SUBST_CLASSES+=		hpath
SUBST_STAGE.hpath=	pre-configure
SUBST_MESSAGE.hpath=	Fixing hardcoded paths.
SUBST_FILES.hpath=	configure
SUBST_SED.hpath=	-e 's|^\(INSTALL[	 :]*=\).*|\1${INSTALL}|'
SUBST_SED.hpath+=	-e 's|/usr/pkg|${PREFIX}|'

TOOLS_DEPENDS.pkg-config=	pkg-config>=0.20:../../devel/pkg-config
BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.6.0

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

.include "../../x11/vte/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"