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$
|
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
|
2006-05-16 07:10:14 +02:00
|
|
|
PORTREVISION= 3
|
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
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= 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
|
2003-07-16 06:44:15 +02:00
|
|
|
INSTALLS_SHLIB= 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'
|
2004-03-13 21:01:09 +01:00
|
|
|
|
2003-07-16 06:44:15 +02:00
|
|
|
post-install:
|
2004-11-07 23:59:12 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/gnome/applications
|
2003-07-16 06:44:15 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
|
2004-06-09 06:54:52 +02:00
|
|
|
${PREFIX}/share/gnome/applications
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|