From 7820d8c11753ede8aa03b92f6fb46e8913b96984 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 11 Nov 2002 23:42:31 +0000 Subject: Add back a gtkhtmlConf.sh file. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@150 df743ca5-7f9a-e211-a948-0013205c9059 --- www/gtkhtml/Makefile | 14 ++++++++++++++ www/gtkhtml/files/gtkhtmlConf.sh | 5 +++++ www/gtkhtml/pkg-plist | 1 + 3 files changed, 20 insertions(+) create mode 100644 www/gtkhtml/files/gtkhtmlConf.sh diff --git a/www/gtkhtml/Makefile b/www/gtkhtml/Makefile index 5d47f56a7..752aea848 100644 --- a/www/gtkhtml/Makefile +++ b/www/gtkhtml/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtkhtml PORTVERSION= 1.1.6 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1 @@ -31,8 +32,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +VERSION= ${PORTNAME}-${PORTVERSION} + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure +post-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%VERSION%%|${VERSION}|g' ${FILESDIR}/gtkhtmlConf.sh \ + > ${WRKSRC}/gtkhtmlConf.sh + +post-install: + ${INSTALL_DATA} ${WRKSRC}/gtkhtmlConf.sh \ + ${PREFIX}/etc/gtkhtmlConf.sh + .include diff --git a/www/gtkhtml/files/gtkhtmlConf.sh b/www/gtkhtml/files/gtkhtmlConf.sh new file mode 100644 index 000000000..3a1ac441d --- /dev/null +++ b/www/gtkhtml/files/gtkhtmlConf.sh @@ -0,0 +1,5 @@ +GTKHTML_LIBDIR="-L%%PREFIX%%/lib" +GTKHTML_LIBS=" -L%%PREFIX%%/lib -lgtkhtml-1.1 -Wl,-E -L%%X11BASE%%/lib -L%%LOCALBASE%%/lib -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm -lgnomecanvaspixbuf -liconv -Wl,-E -L%%X11BASE%%/lib -L%%LOCALBASE%%/lib -lgconf-gtk-1 -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm" +GTKHTML_INCLUDEDIR="-I%%PREFIX%%/include -I%%PREFIX%%/include/gtkhtml-1.1 -I%%X11BASE%%/include/gdk-pixbuf-1.0 -I%%X11BASE%%/include/gtk12 -I%%LOCALBASE%%/include/glib12 -I%%LOCALBASE%%/include -I%%X11BASE%%/include -I%%LOCALBASE%%/include/gnome-1.0 -I%%LOCALBASE%%/include/freetype2 -DNEED_GNOMESUPPORT_H -I%%X11BASE%%/lib/gnome-libs/include -I%%LOCALBASE%%/include/gnome-xml -I%%X11BASE%%/include/libglade-1.0 -I%%X11BASE%%/include/gconf/1 -I%%X11BASE%%/include -I%%LOCALBASE%%/include/glib12 -I%%LOCALBASE%%/include/orbit-1.0 -I%%LOCALBASE%%/include -I%%X11BASE%%/include/gtk12 -DGTKHTML_HAVE_GCONF" +GTKHTML_DATADIR="%%PREFIX%%/share/gnome" +MODULE_VERSION="%%VERSION%%" diff --git a/www/gtkhtml/pkg-plist b/www/gtkhtml/pkg-plist index a8cc1eef4..e01137620 100644 --- a/www/gtkhtml/pkg-plist +++ b/www/gtkhtml/pkg-plist @@ -1,6 +1,7 @@ bin/ebrowser bin/gnome-gtkhtml-editor-1.1 bin/gtkhtml-properties-capplet +etc/gtkhtmlConf.sh include/gtkhtml-1.1/gtkhtml/gtkhtml-compat.h include/gtkhtml-1.1/gtkhtml/gtkhtml-embedded.h include/gtkhtml-1.1/gtkhtml/gtkhtml-enums.h -- cgit v1.2.3