2003-06-02 03:36:35 +02:00
|
|
|
# New ports collection makefile for: devhelp
|
|
|
|
# Date created: 29 May 2003
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-01-10 06:22:13 +01:00
|
|
|
# $MCom: ports/devel/devhelp/Makefile,v 1.10 2009/01/09 22:20:28 kwm Exp $
|
2003-06-02 03:36:35 +02:00
|
|
|
|
|
|
|
PORTNAME= devhelp
|
2009-01-10 06:22:13 +01:00
|
|
|
PORTVERSION= 0.22
|
2008-02-10 21:06:18 +01:00
|
|
|
CATEGORIES= devel gnome
|
2008-05-18 21:53:17 +02:00
|
|
|
MASTER_SITES= GNOME
|
2003-06-02 03:36:35 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
2009-01-10 06:22:13 +01:00
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
2003-06-02 03:36:35 +02:00
|
|
|
COMMENT= Developer help browser for GNOME 2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2006-08-09 14:15:57 +02:00
|
|
|
USE_GETTEXT= yes
|
2008-05-18 21:53:17 +02:00
|
|
|
USE_GECKO= firefox xulrunner
|
2003-06-02 03:36:35 +02:00
|
|
|
USE_GMAKE= yes
|
2007-07-12 21:30:22 +02:00
|
|
|
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libwnck
|
2007-07-08 10:17:18 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-06-29 22:35:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-08 10:17:18 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2008-05-18 21:53:17 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-06-18 14:23:25 +02:00
|
|
|
GCONF_SCHEMAS= devhelp.schemas
|
2003-06-30 19:34:39 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
2005-06-18 14:23:25 +02:00
|
|
|
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
|
2008-05-18 21:53:17 +02:00
|
|
|
CONFIGURE_ARGS= --with-gecko=${GECKO}
|
2007-07-08 10:17:18 +02:00
|
|
|
|
|
|
|
OPTIONS= GEDIT "Enable GEdit plug-in support" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2008-05-18 21:53:17 +02:00
|
|
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
2007-07-08 10:17:18 +02:00
|
|
|
|
|
|
|
.if defined(WITH_GEDIT)
|
|
|
|
BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
|
|
|
|
RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
|
|
|
|
PLIST_SUB+= GEDIT=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GEDIT="@comment "
|
|
|
|
.endif
|
2003-06-02 03:36:35 +02:00
|
|
|
|
2007-07-08 10:17:18 +02:00
|
|
|
post-patch:
|
|
|
|
.if defined(WITHOUT_GEDIT)
|
|
|
|
@${REINPLACE_CMD} -e 's|gedit-plugin||' \
|
|
|
|
${WRKSRC}/misc/Makefile.in
|
|
|
|
.endif
|
2005-06-18 14:23:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|