diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-18 13:36:10 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-18 13:36:10 +0800 |
commit | b27972fdc91b87286eed42ce87773a7627598412 (patch) | |
tree | 27b155589735359b9baab67f88a17019617afa29 /x11/yelp/Makefile | |
parent | 5850f8b6ca45bde25d3deb9dba27b48634a069e6 (diff) | |
download | marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar.gz marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar.bz2 marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar.lz marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar.xz marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.tar.zst marcuscom-ports-b27972fdc91b87286eed42ce87773a7627598412.zip |
Re-add yelp, at 2.9.1.. I am not happy with this port, it could have done
better. It will be great if someone can pick and clean up. :-)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3072 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/yelp/Makefile')
-rw-r--r-- | x11/yelp/Makefile | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile new file mode 100644 index 000000000..bb16cfd78 --- /dev/null +++ b/x11/yelp/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: yelp +# Date created: 18 May 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/x11/yelp/Makefile,v 1.33 2004/11/07 22:24:25 marcus Exp $ +# + +PORTNAME= yelp +PORTVERSION= 2.9.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.9 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A help browser for the GNOME 2 desktop + +BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-doc-utils.pc:${PORTSDIR}/textproc/gnomedocutils \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-doc-utils.pc:${PORTSDIR}/textproc/gnomedocutils \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= mozilla +HEADERS_SUFX= + +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla +HEADERS_SUFX= +.else +.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2" +MOZILLA= mozilla-devel +HEADERS_SUFX= -devel +.else +MOZILLA= mozilla +HEADERS_SUFX= +.endif +.endif + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui +USE_LIBTOOL_VER=15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias" + +GCONF_SCHEMAS= yelp.schemas + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany 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} + @${ECHO_MSG} " mozilla-devel " + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \ + ${WRKSRC}/configure + +post-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%MOZILLA%%|${MOZILLA}|g' <${FILESDIR}/yelp.sh \ + > ${WRKDIR}/yelp.sh + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%MOZILLA%%|${MOZILLA}|g' <${FILESDIR}/gnome-help.sh \ + > ${WRKDIR}/gnome-help.sh + +post-install: + ${MV} -f ${PREFIX}/bin/yelp ${PREFIX}/bin/yelp-bin + ${MV} -f ${PREFIX}/bin/gnome-help ${PREFIX}/bin/gnome-help-bin + ${INSTALL_SCRIPT} ${WRKDIR}/yelp.sh ${PREFIX}/bin/yelp + ${INSTALL_SCRIPT} ${WRKDIR}/gnome-help.sh ${PREFIX}/bin/gnome-help + +.include <bsd.port.mk> |