freebsd-ports/print/gnome-cups-manager/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

46 lines
1.2 KiB
Makefile

# 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.30
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Admistration tool for cups
LIB_DEPENDS= gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups
RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \
desktopfileutils
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= 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
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
post-install:
${MKDIR} ${PREFIX}/share/gnome/applications
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
${PREFIX}/share/gnome/applications
.include <bsd.port.mk>