pkgsrc/devel/imake/Makefile
tron 695c4ee0ff Fix bad variable assignment in "xmkmf" if it is generated by Sun Studio C
under Solaris. Bump package revision because of this fix.
2010-01-10 21:22:18 +00:00

39 lines
958 B
Makefile

# $NetBSD: Makefile,v 1.8 2010/01/10 21:22:18 tron Exp $
DISTNAME= imake-1.0.2
PKGREVISION= 3
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=util/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Imake and other utilities from modular X.org
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config makedepend:run perl:run
DEPENDS+= xorg-cf-files>=1.0.2nb1:../../x11/xorg-cf-files
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
REPLACE_PERL+= mkhtmlindex.pl
.include "../../mk/compiler.mk"
.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
. if ${OPSYS} == "SunOS"
SUBST_CLASSES+= xmkmf
SUBST_MESSAGE.xmkmf= Fixing "xmkmf" script.
SUBST_STAGE.xmkmf= post-build
SUBST_FILES.xmkmf= xmkmf
SUBST_SED.xmkmf= -e "s/^configdirspec= */configdirspec=/"
. endif
.endif
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"