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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= devhelp
|
2005-06-18 14:23:25 +02:00
|
|
|
PORTVERSION= 0.10
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 6
|
2003-06-02 03:36:35 +02:00
|
|
|
CATEGORIES?= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2003-06-30 19:34:39 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,}
|
2003-06-02 03:36:35 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
2006-04-15 01:25:09 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-02 03:36:35 +02:00
|
|
|
COMMENT= Developer help browser for GNOME 2
|
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
|
2005-04-30 02:59:30 +02:00
|
|
|
|
2005-06-18 14:23:25 +02:00
|
|
|
MOZILLA= mozilla
|
|
|
|
|
|
|
|
.if !defined(WITH_MOZILLA)
|
|
|
|
MOZILLA= mozilla
|
|
|
|
.else
|
2006-12-27 23:40:12 +01:00
|
|
|
.if ${WITH_MOZILLA} == "firefox"
|
2005-06-18 14:23:25 +02:00
|
|
|
MOZILLA= firefox
|
2006-12-27 23:40:12 +01:00
|
|
|
.elif ${WITH_MOZILLA} == "seamonkey"
|
|
|
|
MOZILLA= seamonkey
|
2005-06-18 14:23:25 +02:00
|
|
|
.endif
|
|
|
|
.endif
|
2004-04-29 09:25:21 +02:00
|
|
|
|
2007-02-10 07:05:06 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-06-02 03:36:35 +02:00
|
|
|
USE_BZIP2= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_XLIB= yes
|
2006-08-09 14:15:57 +02:00
|
|
|
USE_GETTEXT= yes
|
2003-06-02 03:36:35 +02:00
|
|
|
USE_GMAKE= yes
|
2005-06-18 14:23:25 +02:00
|
|
|
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
|
2003-06-29 22:35:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= ${LOCALBASE}/lib/${MOZILLA}
|
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"
|
|
|
|
CONFIGURE_ARGS= --with-mozilla=${MOZILLA}
|
2003-06-02 03:36:35 +02:00
|
|
|
|
2004-07-26 03:38:41 +02:00
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
|
|
x-generate-plist:
|
|
|
|
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,g;s,^@dirrm share/((gnome/[^d]|pixmaps|application|locale).*|gnome$$),,;s,^@dirrm etc/gconf.*,,;s,^etc/gconf/gconf.*,,'|${TR} -s '\n') > temp-pkg-plist
|
2004-04-10 18:19:04 +02:00
|
|
|
|
2005-06-18 14:23:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " By default the port uses www/mozilla for html rendering, but you can"
|
|
|
|
@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
|
|
|
|
@${ECHO_MSG}
|
2006-12-27 23:40:12 +01:00
|
|
|
@${ECHO_MSG} " firefox seamonkey "
|
2005-06-18 14:23:25 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|