2013-09-03 16:08:55 +02:00
|
|
|
# Created by: Glenn Johnson <glennpj@charter.net>
|
2003-07-16 06:44:15 +02:00
|
|
|
# $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 $
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
PORTNAME= gnome-cups-manager
|
2005-11-19 18:58:22 +01:00
|
|
|
PORTVERSION= 0.31
|
2017-03-26 00:37:05 +01:00
|
|
|
PORTREVISION= 18
|
2004-07-27 15:53:04 +02:00
|
|
|
PORTEPOCH= 1
|
2003-07-16 06:44:15 +02:00
|
|
|
CATEGORIES= print gnome
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2003-07-16 06:44:15 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2012-08-02 11:02:43 +02:00
|
|
|
COMMENT= Administration tool for cups
|
2003-07-16 06:44:15 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libgnomecups-1.0.so:print/libgnomecups
|
|
|
|
RUN_DEPENDS= gnomesu:security/libgnomesu
|
2003-07-16 06:44:15 +02:00
|
|
|
|
2017-03-21 22:59:31 +01:00
|
|
|
USES= gettext gmake libtool pathfix pkgconfig samba:lib tar:bzip2
|
2014-04-03 20:32:18 +02:00
|
|
|
USE_GNOME= gnomeprefix intlhack libgnomeprintui libgnomeui
|
2006-11-05 04:43:41 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-08-26 16:06:08 +02:00
|
|
|
USE_XORG= x11
|
2014-07-08 23:18:25 +02:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2017-03-21 22:59:31 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${SAMBAINCLUDES} -D_IPP_PRIVATE_STRUCTURES
|
|
|
|
LIBS+= -L${LOCALBASE}/lib -L${SAMBALIBS}
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
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'
|
2014-08-26 16:06:08 +02:00
|
|
|
@${REINPLACE_CMD} '/^gnome_cups_icon_LDADD =/s/$$/ -lX11/' \
|
|
|
|
${WRKSRC}/gnome-cups-manager/Makefile.in
|
2006-11-05 04:43:41 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \
|
|
|
|
${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c
|
2013-03-08 11:51:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|glib/gmacros.h>|glib.h>|g' \
|
|
|
|
-e 's|glib/gstrfuncs.h>|glib.h>|g' \
|
|
|
|
${WRKSRC}/libgnomecups/gnome-cups-ui-init.h \
|
|
|
|
${WRKSRC}/libgnomecups/gnome-cups-ui-print.h \
|
|
|
|
${WRKSRC}/libgnomecups/gnome-cups-i18n.c \
|
|
|
|
${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:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
|
2014-04-03 20:32:18 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/applications
|
2003-07-16 06:44:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|