aboutsummaryrefslogtreecommitdiff
path: root/comms/hamfax
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2012-12-06 21:21:00 +0000
committerDiane Bruce <db@FreeBSD.org>2012-12-06 21:21:00 +0000
commite198e761b3aaf267b76ba457d15fd75e38ffbc7f (patch)
tree021876d54499850ec98303e00100487449ba17dd /comms/hamfax
parentf788a52d5d15d3555b74d46d16b506bfd8c335e1 (diff)
downloadports-e198e761b3aaf267b76ba457d15fd75e38ffbc7f.tar.gz
ports-e198e761b3aaf267b76ba457d15fd75e38ffbc7f.zip
Notes
Diffstat (limited to 'comms/hamfax')
-rw-r--r--comms/hamfax/Makefile23
-rw-r--r--comms/hamfax/distinfo4
-rw-r--r--comms/hamfax/files/patch-Makefile.in11
-rw-r--r--comms/hamfax/pkg-plist9
4 files changed, 29 insertions, 18 deletions
diff --git a/comms/hamfax/Makefile b/comms/hamfax/Makefile
index 4c37f98b8d12..03d4a7857d53 100644
--- a/comms/hamfax/Makefile
+++ b/comms/hamfax/Makefile
@@ -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>
diff --git a/comms/hamfax/distinfo b/comms/hamfax/distinfo
index e4b2cdb5b7db..e57dc98a3acc 100644
--- a/comms/hamfax/distinfo
+++ b/comms/hamfax/distinfo
@@ -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
diff --git a/comms/hamfax/files/patch-Makefile.in b/comms/hamfax/files/patch-Makefile.in
new file mode 100644
index 000000000000..7511340f1d75
--- /dev/null
+++ b/comms/hamfax/files/patch-Makefile.in
@@ -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)
diff --git a/comms/hamfax/pkg-plist b/comms/hamfax/pkg-plist
index e26f7956ac1e..4b56c7c41be7 100644
--- a/comms/hamfax/pkg-plist
+++ b/comms/hamfax/pkg-plist
@@ -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%%