Bug 214642

Summary: comms/jsdr : switch to using qmake
Product: Ports & Packages Reporter: Tobias C. Berner <tcberner>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Only Me CC: db
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Simplify Makefile none

Description Tobias C. Berner freebsd_committer freebsd_triage 2016-11-18 22:47:10 UTC
Created attachment 177160 [details]
Simplify Makefile

Hi

Instead of doing a manual do-configure / do-build / do-install targets, the attached patch copies a small 'jsdr.pro' file to WRKSRC and then relies on USES=qmake to do the rest:

+--------------------------------------+
| TEMPLATE = subdirs                   |
|                                      |
| SUBDIRS = make-x64/swreceiver \      |
|           make-x64/fmreceiver \      |         
|           make-x64/spectrum-viewer \ |
|           make-x64/mini-receiver     |
|                                      |
| CONFIG += ordered                    |
+--------------------------------------+

And modifies the patches to the four .pro files in the subdirs to create an install target.


The version-suffix of the two binaries spectrum-viewer and fmreceiver was dropped in the process (why was it there?).


mfg Tobias
Comment 1 Diane Bruce freebsd_committer freebsd_triage 2016-11-19 00:09:41 UTC
Any reason you didn't take the port yourself? ;)
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2016-11-19 00:19:57 UTC
Hi Diane 

Because this is only a drive by shooting of some qt/qmake related changes =). 



mfg Tobias
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-11-19 11:53:47 UTC
A commit references this bug:

Author: tcberner
Date: Sat Nov 19 11:53:24 UTC 2016
New revision: 426360
URL: https://svnweb.freebsd.org/changeset/ports/426360

Log:
  Simplify Makefile of comms/jsdr

  Instead of doing a manual do-configure / do-build / do-install targets, copy
  a small 'jsdr.pro' file to WRKSRC and then rely on USES=qmake to do the rest.

  The version-suffix of the two binaries spectrum-viewer and fmreceiver was
  dropped in the process (why was it there?) -- and therefore the PORTREVISION
  is bumped.

  PR:		214642
  Approved by:	rakuco (mentor)

Changes:
  head/comms/jsdr/Makefile
  head/comms/jsdr/files/patch-jsdr.pro
  head/comms/jsdr/files/patch-make-x64_fmreceiver_fmreceiver.pro
  head/comms/jsdr/files/patch-make-x64_mini-receiver_mini-receiver.pro
  head/comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro
  head/comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro