2003-07-16 06:44:15 +02:00
|
|
|
# New ports collection makefile for: gnome-cups-manager
|
|
|
|
# Date created: 14 Jul 2003
|
|
|
|
# Whom: Glenn Johnson <glennpj@charter.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/print/gnome-cups-manager/Makefile,v 1.8 2007/07/20 01:11:31 mezz Exp $
|
2004-11-07 23:59:12 +01:00
|
|
|
#
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
PORTNAME= gnome-cups-manager
|
2005-11-19 18:58:22 +01:00
|
|
|
PORTVERSION= 0.31
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 9
|
2004-07-27 15:53:04 +02:00
|
|
|
PORTEPOCH= 1
|
2003-07-16 06:44:15 +02:00
|
|
|
CATEGORIES= print gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2004-11-07 23:59:12 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
|
2003-07-16 06:44:15 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= Admistration tool for cups
|
|
|
|
|
|
|
|
LIB_DEPENDS= gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups
|
2005-01-14 20:37:40 +01:00
|
|
|
RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu
|
2003-07-16 06:44:15 +02:00
|
|
|
|
2007-02-10 07:05:06 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-07-16 06:44:15 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2004-11-07 23:59:12 +01:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \
|
|
|
|
desktopfileutils
|
2006-05-16 00:23:04 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-05-16 07:10:14 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2006-11-05 04:43:41 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-11-25 03:03:56 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-07-16 06:44:15 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
< ${FILESDIR}/gnome-cups-manager.desktop \
|
|
|
|
> ${WRKSRC}/gnome-cups-manager.desktop
|
2004-03-13 21:01:09 +01:00
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-12-21 01:23:18 +01:00
|
|
|
's|-D.*_DISABLE_DEPRECATED||g'
|
2006-11-05 04:43:41 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \
|
|
|
|
${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c
|
2004-03-13 21:01:09 +01:00
|
|
|
|
2003-07-16 06:44:15 +02:00
|
|
|
post-install:
|
2007-10-25 01:37:25 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/applications
|
2003-07-16 06:44:15 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
|
2007-10-25 01:37:25 +02:00
|
|
|
${PREFIX}/share/applications
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|