pkgsrc/wm/wmakerconf/Makefile
wiz 92e0cb52cb Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.46 2010/06/13 22:45:31 wiz Exp $
DISTNAME= wmakerconf-2.11
PKGREVISION= 12
CATEGORIES= x11 wm windowmaker
MASTER_SITES= http://starplot.org/wmakerconf/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://starplot.org/wmakerconf/
COMMENT= Gtk+ based configuration tool for Window Maker
PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gzip tar perl:run pkg-config msgfmt
.if defined(PKG_SYSCONFDIR.windowmaker)
CONFIGURE_ARGS+= --with-wmakeretcprefix=${PKG_SYSCONFDIR.windowmaker}
.else
CONFIGURE_ARGS+= --with-wmakeretcprefix=${PKG_SYSCONFDIR}/WindowMaker
.endif
CONFIGURE_ENV+= gzip=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+= perlpath=${PERL5:Q}
CONFIGURE_ENV+= tar=${TOOLS_TAR:Q}
REPLACE_PERL+= scripts/*.pl.in
USE_TOOLS+= perl:run
post-extract:
${MV} ${WRKSRC}/data/WMWmakerconf ${WRKSRC}/data/WMWmakerconf.in
pre-configure:
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/data/WMWmakerconf.in \
> ${WRKSRC}/data/WMWmakerconf
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../wm/windowmaker/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"