Changeset View
Changeset View
Standalone View
Standalone View
print/gnome-cups-manager/Makefile
# Created by: Glenn Johnson <glennpj@charter.net> | # Created by: Glenn Johnson <glennpj@charter.net> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# $MCom: ports/print/gnome-cups-manager/Makefile,v 1.8 2007/07/20 01:11:31 mezz Exp $ | # $MCom: ports/print/gnome-cups-manager/Makefile,v 1.8 2007/07/20 01:11:31 mezz Exp $ | ||||
PORTNAME= gnome-cups-manager | PORTNAME= gnome-cups-manager | ||||
PORTVERSION= 0.31 | PORTVERSION= 0.31 | ||||
PORTREVISION= 16 | PORTREVISION= 17 | ||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= print gnome | CATEGORIES= print gnome | ||||
MASTER_SITES= GNOME | MASTER_SITES= GNOME | ||||
DIST_SUBDIR= gnome2 | DIST_SUBDIR= gnome2 | ||||
MAINTAINER= gnome@FreeBSD.org | MAINTAINER= gnome@FreeBSD.org | ||||
COMMENT= Administration tool for cups | COMMENT= Administration tool for cups | ||||
LIB_DEPENDS= libgnomecups-1.0.so:print/libgnomecups | LIB_DEPENDS= libgnomecups-1.0.so:print/libgnomecups | ||||
RUN_DEPENDS= gnomesu:security/libgnomesu | RUN_DEPENDS= gnomesu:security/libgnomesu | ||||
USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 | USES= gettext gmake libtool pathfix pkgconfig samba:lib tar:bzip2 | ||||
USE_GNOME= gnomeprefix intlhack libgnomeprintui libgnomeui | USE_GNOME= gnomeprefix intlhack libgnomeprintui libgnomeui | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_XORG= x11 | USE_XORG= x11 | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES | CPPFLAGS+= -I${LOCALBASE}/include -I${SAMBAINCLUDES} -D_IPP_PRIVATE_STRUCTURES | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib -L${SAMBALIBS} | ||||
post-patch: | post-patch: | ||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ | @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ | ||||
< ${FILESDIR}/gnome-cups-manager.desktop \ | < ${FILESDIR}/gnome-cups-manager.desktop \ | ||||
> ${WRKSRC}/gnome-cups-manager.desktop | > ${WRKSRC}/gnome-cups-manager.desktop | ||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ | @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
's|-D.*_DISABLE_DEPRECATED||g' | 's|-D.*_DISABLE_DEPRECATED||g' | ||||
@${REINPLACE_CMD} '/^gnome_cups_icon_LDADD =/s/$$/ -lX11/' \ | @${REINPLACE_CMD} '/^gnome_cups_icon_LDADD =/s/$$/ -lX11/' \ | ||||
Show All 15 Lines |