summaryrefslogtreecommitdiffstats
path: root/print/gnome-cups-manager/Makefile
blob: 34051d9cc9ef462e248cae23680fe85da0f23acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	gnome-cups-manager
# Date created:				14 Jul 2003
# Whom:					Glenn Johnson <glennpj@charter.net>
#
# $FreeBSD$

PORTNAME=	gnome-cups-manager
PORTVERSION=	0.17
PORTREVISION=	1
CATEGORIES=	print gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.17
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Admistration tool for cups

LIB_DEPENDS=	gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomeprefix gnomehack libgnomeprintui libgnomeui
INSTALLS_SHLIB=	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
post-install:
	${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
	${PREFIX}/share/gnome/applications

.include <bsd.port.mk>
OpenPOWER on IntegriCloud