Update to 0.5 (latest STABLE version), and unbreak now that the system lpr
is left untouched. PR: 52780 Submitted by: maintainer
This commit is contained in:
parent
50256ac3dc
commit
88434931c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81924
7 changed files with 78 additions and 92 deletions
|
@ -6,52 +6,58 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= gfax
|
PORTNAME= gfax
|
||||||
PORTVERSION= 0.4.2
|
PORTVERSION= 0.5
|
||||||
CATEGORIES= comms print
|
CATEGORIES= comms print
|
||||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
MASTER_SITES= http://gfax.cowlug.org/
|
||||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
|
|
||||||
DIST_SUBDIR= gnome
|
|
||||||
|
|
||||||
MAINTAINER= coop9211@uidaho.edu
|
MAINTAINER= coop9211@uidaho.edu
|
||||||
COMMENT= A GNOME pop-up fax manager
|
COMMENT= A GNOME pop-up fax manager
|
||||||
|
|
||||||
BROKEN= "Replaces system lpr binary"
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/share/automake/install-sh:${PORTSDIR}/devel/automake \
|
|
||||||
${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax
|
${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax
|
||||||
RUN_DEPENDS= ${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax
|
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_PYTHON= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_GNOME= gnomeprefix gnomehack libpanel libcapplet libglade
|
NO_BUILD= yes
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
|
|
||||||
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
|
BASEFILES= controller.py en.h fax-g3.profile fax.py file_handler.py \
|
||||||
|
gfax.desktop gfax.glade gfax.png gfax.py gfax.spec \
|
||||||
|
hfaxlib.py install.sh mgettydruid.glade prefs.py \
|
||||||
|
prefs_ui.py setup.glade ui.py uninstall.sh
|
||||||
|
|
||||||
|
PIXFILES= gfax.png gnome-logo-icon-transparent.png
|
||||||
|
DOCFILES= AUTHORS COPYING Changelog HACKING INSTALL TODO
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${LN} -sf ${LOCALBASE}/share/automake/install-sh ${WRKSRC}/install-sh
|
@${REINPLACE_CMD} -e 's|/usr/lib/gfax|${PREFIX}/lib/gfax|g' \
|
||||||
@${LN} -sf ${LOCALBASE}/share/automake/missing ${WRKSRC}/missing
|
${WRKSRC}/gfax.py
|
||||||
@${LN} -sf ${LOCALBASE}/share/automake/mkinstalldirs ${WRKSRC}/mkinstalldirs
|
@${REINPLACE_CMD} -e 's|/usr/share/gfax|${PREFIX}/share/gfax|g ; \
|
||||||
|
s|/usr/lib/gfax|${PREFIX}/lib/gfax|g' \
|
||||||
|
${WRKSRC}/prefs.py
|
||||||
|
|
||||||
post-patch:
|
do-install:
|
||||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
@${MKDIR} ${PREFIX}/lib/gfax
|
||||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' \
|
@${MKDIR} ${PREFIX}/lib/gfax/pixmaps
|
||||||
${WRKSRC}/configure
|
@${MKDIR} ${PREFIX}/share/gnome/apps/Applications
|
||||||
@find ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
@${MKDIR} ${PREFIX}/share/gnome/ximian
|
||||||
's|[(]gnomedatadir[)]/gnome|(gnomedatadir)|g'
|
@${MKDIR} ${PREFIX}/share/gnome/ximian/Programs
|
||||||
|
@${MKDIR} ${PREFIX}/share/gnome/ximian/Programs/Utilities
|
||||||
pre-install:
|
.for base in ${BASEFILES}
|
||||||
@${MV} ${WRKSRC}/gfax.install-lpr ${WRKSRC}/gfax.install-lpr.orig
|
@${INSTALL_DATA} ${WRKSRC}/${base} ${PREFIX}/lib/gfax
|
||||||
@${SED} \
|
.endfor
|
||||||
-e 's#%%PREFIX%%#${PREFIX}/#' \
|
@${INSTALL_SCRIPT} ${WRKSRC}/gfax.py ${PREFIX}/bin/gfax
|
||||||
${WRKSRC}/gfax.install-lpr.orig > ${WRKSRC}/gfax.install-lpr
|
@${INSTALL_DATA} ${WRKSRC}/gfax.desktop ${PREFIX}/share/gnome/apps/Applications
|
||||||
@${MV} ${WRKSRC}/lpr.gfax ${WRKSRC}/lpr.gfax.orig
|
@${INSTALL_DATA} ${WRKSRC}/gfax.desktop ${PREFIX}/share/gnome/ximian/Programs/Utilities
|
||||||
@${SED} \
|
@${INSTALL_DATA} ${WRKSRC}/gfax.png ${PREFIX}/share/gnome/pixmaps
|
||||||
-e 's#%%PREFIX%%#${PREFIX}/#' \
|
.for pixmaps in ${PIXFILES}
|
||||||
${WRKSRC}/lpr.gfax.orig > ${WRKSRC}/lpr.gfax
|
@${INSTALL_DATA} ${WRKSRC}/pixmaps/${pixmaps} ${PREFIX}/lib/gfax/pixmaps
|
||||||
|
.endfor
|
||||||
post-install:
|
.if !defined(NOPORTDOCS)
|
||||||
@${SH} ${PREFIX}/bin/gfax.install-lpr
|
@${MKDIR} ${DOCSDIR}
|
||||||
|
.for doc in ${DOCFILES}
|
||||||
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||||
|
.endfor
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (gnome/gfax-0.4.2.tar.gz) = 815523780287a97133e85585f0319a20
|
MD5 (gfax-0.5.tar.gz) = 58c04251cca3f8ff8ad154fff7d4ebb6
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- gfax.install-lpr Sun Dec 12 10:47:19 1999
|
|
||||||
+++ gfax.install-lpr.new Sun Jan 20 21:17:31 2002
|
|
||||||
@@ -10,9 +10,10 @@
|
|
||||||
#
|
|
||||||
BINDIR=/usr/bin
|
|
||||||
LPRBINDIR=/usr/bin
|
|
||||||
+PREFIX=%%PREFIX%%/bin
|
|
||||||
|
|
||||||
if [ ! -x $LPRBINDIR/lpr.dist ]; then
|
|
||||||
mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
|
|
||||||
- ln -s $BINDIR/lpr.gfax $BINDIR/lpr
|
|
||||||
+ ln -s $PREFIX/lpr.gfax $BINDIR/lpr
|
|
||||||
chmod +x $BINDIR/lpr
|
|
||||||
fi
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- lpr.gfax Sun Dec 12 10:47:16 1999
|
|
||||||
+++ lpr.gfax.new Sun Jan 20 21:38:07 2002
|
|
||||||
@@ -29,8 +29,9 @@
|
|
||||||
FAX=
|
|
||||||
SPOOL_DIR=/tmp
|
|
||||||
|
|
||||||
-BINDIR=/usr/bin
|
|
||||||
+#BINDIR=/usr/bin
|
|
||||||
#BINDIR=/usr/local/bin
|
|
||||||
+BINDIR=%%PREFIX%%/bin
|
|
||||||
|
|
||||||
for i in $*
|
|
||||||
do
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/Makefile.in.orig Thu Nov 21 21:50:20 2002
|
|
||||||
+++ src/Makefile.in Thu Nov 21 21:50:42 2002
|
|
||||||
@@ -109,7 +109,7 @@
|
|
||||||
cxxflags_set = @cxxflags_set@
|
|
||||||
l = @l@
|
|
||||||
|
|
||||||
-INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/ftplib-3.1/linux -DGLADEDIR=\""$(gladedir)"\" -DGFAX_DATADIR=\""$(pkgdatadir)"\" $(GNOME_INCLUDEDIR)
|
|
||||||
+INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/ftplib-3.1/linux -DGLADEDIR=\""$(gladedir)"\" -DGFAX_DATADIR=\""$(pkgdatadir)"\" $(GNOME_INCLUDEDIR) `gnome-config --cflags libglade`
|
|
||||||
|
|
||||||
|
|
||||||
bin_PROGRAMS = gfax
|
|
|
@ -1,5 +1,4 @@
|
||||||
GFax is a front end fax program that performs as the familiar pop-up fax
|
GFax is a front end fax program that performs as the familiar pop-up fax
|
||||||
manager when one prints to a fax printer. GFax works with all X programs
|
manager when one prints to a fax printer.
|
||||||
that use lpr as the printer interface--even the command line.
|
|
||||||
|
|
||||||
WWW: http://www.cowlug.org/gfax/
|
WWW: http://www.cowlug.org/gfax/
|
||||||
|
|
|
@ -1,19 +1,38 @@
|
||||||
bin/gfax
|
bin/gfax
|
||||||
bin/lpr.gfax
|
lib/gfax/controller.py
|
||||||
bin/gfax.install-lpr
|
lib/gfax/en.h
|
||||||
bin/gfax.uninstall-lpr
|
lib/gfax/fax-g3.profile
|
||||||
|
lib/gfax/fax.py
|
||||||
|
lib/gfax/file_handler.py
|
||||||
|
lib/gfax/gfax.desktop
|
||||||
|
lib/gfax/gfax.glade
|
||||||
|
lib/gfax/gfax.png
|
||||||
|
lib/gfax/gfax.py
|
||||||
|
lib/gfax/gfax.spec
|
||||||
|
lib/gfax/hfaxlib.py
|
||||||
|
lib/gfax/install.sh
|
||||||
|
lib/gfax/mgettydruid.glade
|
||||||
|
lib/gfax/pixmaps/gfax.png
|
||||||
|
lib/gfax/pixmaps/gnome-logo-icon-transparent.png
|
||||||
|
lib/gfax/prefs.py
|
||||||
|
lib/gfax/prefs_ui.py
|
||||||
|
lib/gfax/setup.glade
|
||||||
|
lib/gfax/ui.py
|
||||||
|
lib/gfax/uninstall.sh
|
||||||
|
%%PORTDOCS%%share/doc/gfax/AUTHORS
|
||||||
|
%%PORTDOCS%%share/doc/gfax/COPYING
|
||||||
|
%%PORTDOCS%%share/doc/gfax/Changelog
|
||||||
|
%%PORTDOCS%%share/doc/gfax/HACKING
|
||||||
|
%%PORTDOCS%%share/doc/gfax/INSTALL
|
||||||
|
%%PORTDOCS%%share/doc/gfax/TODO
|
||||||
share/gnome/apps/Applications/gfax.desktop
|
share/gnome/apps/Applications/gfax.desktop
|
||||||
share/gnome/gfax/glade/gfax.glade
|
share/gnome/ximian/Programs/Utilities/gfax.desktop
|
||||||
share/gnome/gfax/glade/setup.glade
|
@dirrm share/gnome/ximian/Programs/Utilities
|
||||||
share/gnome/gfax/glade/mgettydruid.glade
|
@dirrm share/gnome/ximian/Programs
|
||||||
share/gnome/gfax/glade/spool.glade
|
@dirrm share/gnome/ximian
|
||||||
share/gnome/help/gfax/C/gfax.html
|
@dirrm share/gnome/apps/Applications
|
||||||
share/gnome/help/gfax/C/topic.dat
|
@dirrm share/gnome/apps
|
||||||
share/gnome/help/gfax/C/index.html
|
@dirrm share/gnome
|
||||||
share/gnome/pixmaps/gfax.png
|
%%PORTDOCS%%share/doc/gfax
|
||||||
@unexec /bin/sh %D/bin/gfax.uninstall-lpr
|
@dirrm lib/gfax/pixmaps
|
||||||
@exec /bin/sh %D/bin/gfax.install-lpr
|
@dirrm lib/gfax
|
||||||
@dirrm share/gnome/gfax/glade
|
|
||||||
@dirrm share/gnome/gfax
|
|
||||||
@dirrm share/gnome/help/gfax/C
|
|
||||||
@dirrm share/gnome/help/gfax
|
|
||||||
|
|
Loading…
Reference in a new issue