- Update the comment.

- Remove the ${BUILD_DEPENDS} in RUN_DEPENDS, because it causes gmake, libtool
  and few others become as runtime dependency, which they are just need to be
  in the build dependency.
- Correct a typo, gfax.schema -> gfax.schemas.
- Fix the installation.
- Fix the plist.
- Bump the PORTREVISION.

BSD# - Project by:	http://www.mono-project.com/Mono:FreeBSD
This commit is contained in:
Jeremy Messenger 2005-07-10 21:46:05 +00:00
parent f3b29b531b
commit 37ce70f789
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138857
4 changed files with 33 additions and 6 deletions

View File

@ -2,22 +2,25 @@
# Date created: 20 January 2002
# Whom: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
#
# $Id: Makefile,v 1.8 2005/06/15 02:10:28 tmclau02 Exp $
# $FreeBSD$
#
PORTNAME= gfax
PORTVERSION= 0.7.3
PORTREVISION= 2
CATEGORIES= comms print gnome
MASTER_SITES= http://gfax.cowlug.org/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT= A GNOME-2.x C# pop-up fax manager
COMMENT= A Mono based pop-up fax manager
BUILD_DEPENDS= ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \
bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax
RUN_DEPENDS= ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \
${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax \
bash:${PORTSDIR}/shells/bash2
WRKSRC= ${WRKDIR}/${PORTNAME}
@ -28,7 +31,7 @@ USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehier libgnomeprint
STRIP=
GCONF_SCHEMAS=gfax.schema
GCONF_SCHEMAS=gfax.schemas
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \

View File

@ -0,0 +1,10 @@
--- Makefile.in.orig Mon Feb 28 17:13:10 2005
+++ Makefile.in Thu Jun 2 22:54:03 2005
@@ -527,7 +527,6 @@
@GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
@GCONF_SCHEMAS_INSTALL_TRUE@ done \
@GCONF_SCHEMAS_INSTALL_TRUE@ fi
-@GCONF_SCHEMAS_INSTALL_TRUE@ killall -HUP gconfd-2
@GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
gfax: gfax.in config.log

View File

@ -0,0 +1,13 @@
--- configure.orig Mon Feb 28 17:13:10 2005
+++ configure Tue Jun 14 21:58:56 2005
@@ -21024,8 +21024,8 @@
# SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR
if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then
- gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint`
- GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '`
+ gpver=`pkg-config --list-all|grep libgnomeprint- | cut -f1 -d' '`
+ GNOME_PRINT_VERSION=`pkg-config --modversion ${gpver}`
GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}"
echo $GNOME_PRINT_DATA_DIR
fi

View File

@ -2,7 +2,8 @@ bin/gfax
bin/gfaxlpr
lib/gfax/gfax.exe
share/gnome/applications/gfax.desktop
share/gnome/libgnomeprint/models/GNOME-GFAX-PS.xml
share/gnome/libgnomeprint/printers/GFAX.xml
share/gnome/libgnomeprint/2.10.3/models/GNOME-GFAX-PS.xml
share/gnome/libgnomeprint/2.10.3/printers/GFAX.xml
share/gnome/pixmaps/gfax.png
share/gnome/pixmaps/send.png
@dirrm lib/gfax