# New ports collection makefile for: gnomesystemtools # Date created: 17 May 2004 # Whom: Adam Weinberger # # $FreeBSD$ # PORTNAME= gnomesystemtools PORTVERSION= 1.0.0 PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.0 DISTNAME= gnome-system-tools-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Tools to configure workstations USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes USE_X_PREFIX= yes USE_GNOME= gnomehack gnomeprefix gnometarget intlhack libgnomeui USE_LIBTOOL_VER=15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" .include .if ${OSVERSION} > 500000 CONFIGURE_ARGS+= --enable-services PLIST_SUB+= SERVICES="" .else PLIST_SUB+= SERVICES="@comment " .endif .if ${PERL_LEVEL} < 500600 post-configure: @${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \ ${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g' .endif .include