1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/deskutils/drivel/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

61 lines
1.4 KiB
Makefile

# New ports collection makefile for: drivel
# Date created: Thu Feb 26 23:13:12 CET 2004
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#
PORTNAME= drivel
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kwm@FreeBSD.org
COMMENT= The Gnome livejournal client
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui intlhack gtksourceview
USE_BZIP2= yes
USE_GMAKE= yes
USE_REINPLACE= yes
INSTALLS_OMF= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= drivel.schemas
.ifndef(WITHOUT_RHYTHMBOX)
CONFIGURE_ARGS+= --with-rhythmbox
BUILD_DEPENDS+= rhythmbox:${PORTSDIR}/audio/rhythmbox
RUN_DEPENDS+= ${BUILD_DEPENDS}
.else
CONFIGURE_ARGS+= --without-rhythmbox
.endif
.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
.else
CONFIGURE_ARGS+= --without-gtkspell
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Define WITHOUT_RHYTHMBOX=yes to disable rhythmbox backend"
@${ECHO_MSG} "Define WITHOUT_GTKSPELL=yes to disable gtkspell"
@${ECHO_MSG} ""
post-patch:
@${REINPLACE_CMD} -e 's|datadir)/icons/gnome|prefix)/share/icons/gnome|g' \
${WRKSRC}/pixmaps/Makefile.in
@${REINPLACE_CMD} -e 's|;;|;|g' \
${WRKSRC}/src/journal.c \
${WRKSRC}/src/msg_queue.c
.include <bsd.port.mk>