pkgsrc/x11/control-center/Makefile

46 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2006/02/05 23:11:32 joerg Exp $
DISTNAME= control-center-1.4.0.5
PKGREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/control-center/1.4/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME control-center development library
BUILD_USES_MSGFMT= YES
USE_DIRS+= xdg-1.1 gnome1-1.5
USE_X11BASE= YES
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
LOCALSTATEDIR= ${PREFIX}/var
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR:Q}
.include "../../mk/bsd.prefs.mk"
# Linux has libintl functionality in libc
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= INTLLIBS="-lintl"
.endif
post-patch:
@${ECHO} >>${WRKSRC}/control-center/cappletConf.sh.in ""
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/control-center/capplets
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/gnome-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"