Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 21:21:01 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308397 - in head/comms/hamfax: . files
Message-ID:  <201212062121.qB6LL1XV035656@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Thu Dec  6 21:21:00 2012
New Revision: 308397
URL: http://svnweb.freebsd.org/changeset/ports/308397

Log:
  - Updates hamfax from 0.6.2 to 0.8.1, moves to QT4
  
  PR:		ports/174228
  Feature safe:	yes

Added:
  head/comms/hamfax/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/comms/hamfax/Makefile   (contents, props changed)
  head/comms/hamfax/distinfo   (contents, props changed)
  head/comms/hamfax/pkg-plist   (contents, props changed)

Modified: head/comms/hamfax/Makefile
==============================================================================
--- head/comms/hamfax/Makefile	Thu Dec  6 19:27:45 2012	(r308396)
+++ head/comms/hamfax/Makefile	Thu Dec  6 21:21:00 2012	(r308397)
@@ -1,27 +1,24 @@
-# New ports collection makefile for:   hamfax
-# Date created:                7th June 2003
-# Whom:                        Carl Makin <carl@stagecraft.cx>
-#
+# Created by:	Carl Makin <carl@stagecraft.cx>
 # $FreeBSD$
 
 PORTNAME=	hamfax
-PORTVERSION=	0.6.4
-PORTREVISION=	7
+PORTVERSION=	0.8.1
 CATEGORIES=	comms audio hamradio
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/HamFax%20${PORTVERSION}
-DISTNAME=	HamFax-${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
 MAINTAINER=	carl@stagecraft.cx
 COMMENT=	QT application for sending and receiving facsimiles over radio
 
-LIB_DEPENDS=	audiofile.0:${PORTSDIR}/audio/libaudiofile
+LIB_DEPENDS=	audiofile:${PORTSDIR}/audio/libaudiofile
 
-USE_QT_VER=	3
+USE_QT4=	gui moc_build
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-Qt-dir=${LOCALBASE} CXX="${CXX} ${PTHREAD_CFLAGS}" \
-		LIBS="${PTHREAD_LIBS}" CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=	CPPFLAGS="-I${LOCALBASE}/include" \
+					LDFLAGS="-L${LOCALBASE}/lib"
 USE_GMAKE=	yes
 USE_BZIP2=	yes
 
+MAKE_JOBS_SAFE=	yes
+
+MAN1=		hamfax.1
 .include <bsd.port.mk>

Modified: head/comms/hamfax/distinfo
==============================================================================
--- head/comms/hamfax/distinfo	Thu Dec  6 19:27:45 2012	(r308396)
+++ head/comms/hamfax/distinfo	Thu Dec  6 21:21:00 2012	(r308397)
@@ -1,2 +1,2 @@
-SHA256 (HamFax-0.6.4.tar.bz2) = 1f542810a1cafbe56b1ef257cc4ebd12619f85c6428d028dd668dd3eb6492a2e
-SIZE (HamFax-0.6.4.tar.bz2) = 102877
+SHA256 (hamfax-0.8.1.tar.bz2) = b27ae06949108a3a7198a941b55928c7d4b1870892d0c0b433f65f6ae6363f1f
+SIZE (hamfax-0.8.1.tar.bz2) = 121619

Added: head/comms/hamfax/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/hamfax/files/patch-Makefile.in	Thu Dec  6 21:21:00 2012	(r308397)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2012-12-05 23:08:33.000000000 +1100
++++ Makefile.in	2012-12-05 23:08:50.000000000 +1100
+@@ -1613,7 +1613,7 @@
+ 
+ 
+ moc_%.cpp: %.hpp
+-	moc $< -o $@
++	moc-qt4 $< -o $@
+ 
+ # helper target for updating translation files
+ @USE_LRELEASE_TRUE@lupdate: $(hamfax_SOURCES)

Modified: head/comms/hamfax/pkg-plist
==============================================================================
--- head/comms/hamfax/pkg-plist	Thu Dec  6 19:27:45 2012	(r308396)
+++ head/comms/hamfax/pkg-plist	Thu Dec  6 21:21:00 2012	(r308397)
@@ -1,4 +1,7 @@
 bin/hamfax
-share/HamFax/HamFax.html
-share/HamFax/hamfax_de.qm
-@dirrm share/HamFax
+share/applications/hamfax.desktop
+%%DATADIR%%/hamfax.html
+%%DATADIR%%/hamfax_de.qm
+%%DATADIR%%/hamfax_fr.qm
+@dirrmtry share/applications
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212062121.qB6LL1XV035656>