diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-20 09:11:32 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-20 09:11:32 +0800 |
commit | 485cff27c1dbde32208eb6e855aa4b2725d6dddc (patch) | |
tree | 321ca2e7561208f15f4f5da18819b7505705ca24 /print/gnome-cups-manager/Makefile | |
parent | 95eb34d13f00f5dabded936f0d16df097be3ed0d (diff) | |
download | marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar.gz marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar.bz2 marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar.lz marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar.xz marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.tar.zst marcuscom-ports-485cff27c1dbde32208eb6e855aa4b2725d6dddc.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9226 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print/gnome-cups-manager/Makefile')
-rw-r--r-- | print/gnome-cups-manager/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile new file mode 100644 index 000000000..c46a735ab --- /dev/null +++ b/print/gnome-cups-manager/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: gnome-cups-manager +# Date created: 14 Jul 2003 +# Whom: Glenn Johnson <glennpj@charter.net> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-cups-manager +PORTVERSION= 0.31 +PORTREVISION= 7 +PORTEPOCH= 1 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Admistration tool for cups + +LIB_DEPENDS= gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups +RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu + +USE_AUTOTOOLS= libtool:15 +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \ + desktopfileutils +USE_GETTEXT= yes +INSTALLS_ICONS= yes +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ + < ${FILESDIR}/gnome-cups-manager.desktop \ + > ${WRKSRC}/gnome-cups-manager.desktop + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-D.*_DISABLE_DEPRECATED||g' + @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ + ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c + +post-install: + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \ + ${PREFIX}/share/applications + +.include <bsd.port.mk> |