Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 03:23:23 +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: r336604 - in head/comms/hf: . files
Message-ID:  <201312160323.rBG3NNSx028510@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Mon Dec 16 03:23:23 2013
New Revision: 336604
URL: http://svnweb.freebsd.org/changeset/ports/336604

Log:
  - Fix build on 10
  - Add stage support
  - Add LICENSE

Modified:
  head/comms/hf/Makefile   (contents, props changed)
  head/comms/hf/files/patch-hfkernel_Makefile.in   (contents, props changed)
  head/comms/hf/pkg-plist   (contents, props changed)

Modified: head/comms/hf/Makefile
==============================================================================
--- head/comms/hf/Makefile	Mon Dec 16 02:38:59 2013	(r336603)
+++ head/comms/hf/Makefile	Mon Dec 16 03:23:23 2013	(r336604)
@@ -10,20 +10,20 @@ MASTER_SITES=	SF/${PORTNAME}term/${PORTN
 MAINTAINER=	db@FreeBSD.org
 COMMENT=	Amateur Radio soundcard fsk, pactor 1, amtor, gtor, mt63
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	whiptail:${PORTSDIR}/devel/newt
 
 USE_GNOME=	gtk12
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX} --sysconfdir=${PREFIX}
+CONFIGURE_ARGS=	--prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX}
 MAKE_JOBS_UNSAFE=	yes
 
-MANLANG=	"" "de.ISO8859-1"
-MAN1=		hf.1 hfterm.1 hfkernel.1
-MAN1_EN=	dcf77gen.1 dcf77rx.1
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
 CONFLICTS=	sysutils/lbl-hf-1.*
 
-NO_STAGE=	yes
 post-configure:
 	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \
 	    ${WRKSRC}/hfkernel/Makefile
@@ -31,18 +31,13 @@ post-configure:
 	    ${WRKSRC}/util/reffreq.c ${WRKSRC}/scripts/Makefile
 
 post-install:
-	@${ECHO} ""
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for d in ${WRKSRC}/doc/hf-examplefiles/fix.[0-1]*[0-9]* \
 	${WRKSRC}/doc/hf-examplefiles/gag
-	@${INSTALL_DATA} ${WRKSRC}/${d} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-	@${ECHO} "hf examples installed in ${EXAMPLESDIR}"
-.endif
-
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${ECHO} "If examples are installed they will be found in ${EXAMPLESDIR}" >> ${WRKDIR}/pkg-message
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for d in ${WRKSRC}/doc/AUTHORS ${WRKSRC}/doc/ChangeLog \
 	${WRKSRC}/doc/DE-HF-HOWTO.txt ${WRKSRC}/doc/HF-HOWTO.txt \
 	${WRKSRC}/doc/INSTALL ${WRKSRC}/doc/LIESMICH \
@@ -52,10 +47,8 @@ post-install:
 	${WRKSRC}/doc/lfconv.jpg ${WRKSRC}/doc/mt63.txt \
 	${WRKSRC}/doc/pactor.ps ${WRKSRC}/doc/pactor.txt \
 	${WRKSRC}/doc/pactor_statediag.fig
-	@${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
 .endfor
-	@${ECHO} "hf docs installed in ${DOCSDIR}"
-.endif
-	@${ECHO} ""
+	@${ECHO} "If docs are installed they will be found in ${DOCSDIR}" >> ${WRKDIR}/pkg-message
 
 .include <bsd.port.mk>

Modified: head/comms/hf/files/patch-hfkernel_Makefile.in
==============================================================================
--- head/comms/hf/files/patch-hfkernel_Makefile.in	Mon Dec 16 02:38:59 2013	(r336603)
+++ head/comms/hf/files/patch-hfkernel_Makefile.in	Mon Dec 16 03:23:23 2013	(r336604)
@@ -1,5 +1,14 @@
---- hfkernel/Makefile.in.orig	Sun Apr 15 18:33:50 2007
-+++ hfkernel/Makefile.in	Sun Apr 15 18:34:48 2007
+--- hfkernel/Makefile.in.orig	2007-02-06 09:44:30.000000000 -0500
++++ hfkernel/Makefile.in	2013-12-14 21:36:25.710721920 -0500
+@@ -114,7 +114,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lm
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+ OBJEXT = @OBJEXT@
 @@ -179,6 +179,7 @@
  noinst_HEADERS = main.h msg.h 
  hfkernel_SOURCES = main.c msg.c

Modified: head/comms/hf/pkg-plist
==============================================================================
--- head/comms/hf/pkg-plist	Mon Dec 16 02:38:59 2013	(r336603)
+++ head/comms/hf/pkg-plist	Mon Dec 16 03:23:23 2013	(r336604)
@@ -19,6 +19,14 @@ bin/ratetry
 bin/reffreq
 etc/calibrations.samp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fix.01
+man/de.ISO8859-1/man1/hf.1.gz
+man/de.ISO8859-1/man1/hfkernel.1.gz
+man/de.ISO8859-1/man1/hfterm.1.gz
+man/man1/dcf77gen.1.gz
+man/man1/dcf77rx.1.gz
+man/man1/hf.1.gz
+man/man1/hfkernel.1.gz
+man/man1/hfterm.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fix.02
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fix.03
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fix.04



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