pkgsrc/x11/antiright/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2011/01/13 13:39:41 wiz Exp $
#
DISTNAME= antiright-3.4
PKGREVISION= 8
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
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
HAS_CONFIGURE= YES
USE_LANGUAGES= c
USE_TOOLS+= pkg-config lex yacc
2007-07-28 12:23:45 +02:00
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
2008-06-12 04:14:13 +02:00
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"