svn commit: r336604 - in head/comms/hf: . files

Diane Bruce db at FreeBSD.org
Mon Dec 16 03:23:24 UTC 2013


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 at 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


More information about the svn-ports-head mailing list