diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-11-12 07:42:31 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-11-12 07:42:31 +0800 |
commit | 7820d8c11753ede8aa03b92f6fb46e8913b96984 (patch) | |
tree | 5253e0ca24520141367d43eaf62eadce6381af78 /www | |
parent | 8a40d0fc7c46805e9b61b577f0369d08f02afc83 (diff) | |
download | marcuscom-ports-7820d8c11753ede8aa03b92f6fb46e8913b96984.tar.gz marcuscom-ports-7820d8c11753ede8aa03b92f6fb46e8913b96984.tar.zst marcuscom-ports-7820d8c11753ede8aa03b92f6fb46e8913b96984.zip |
Add back a gtkhtmlConf.sh file.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@150 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/gtkhtml/Makefile | 14 | ||||
-rw-r--r-- | www/gtkhtml/files/gtkhtmlConf.sh | 5 | ||||
-rw-r--r-- | www/gtkhtml/pkg-plist | 1 |
3 files changed, 20 insertions, 0 deletions
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 <bsd.port.mk> 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 |