Lines 1-13
Link Here
|
1 |
# New ports collection makefile for: hamlib |
1 |
# New ports collection makefile for: hamlib |
2 |
# Date created: 30 April 2003 |
2 |
# Date created: 30 April 2003 |
3 |
# Whom: Sebastian Yepes <esn@x123.info> |
3 |
# Whom: Sebastian Yepes F. <esn@x123.info> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/comms/hamlib/Makefile,v 1.3 2003/08/18 16:15:05 nork Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= hamlib |
8 |
PORTNAME= hamlib |
9 |
PORTVERSION= 1.1.4 |
9 |
PORTVERSION= 1.2.0 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= comms |
10 |
CATEGORIES= comms |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 18-39
Link Here
|
18 |
|
17 |
|
19 |
USE_PERL5= yes |
18 |
USE_PERL5= yes |
20 |
USE_LIBTOOL= yes |
19 |
USE_LIBTOOL= yes |
|
|
20 |
USE_SIZE= yes |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" |
|
|
22 |
CONFIGURE_ARGS+= --with-perl-binding |
22 |
|
23 |
|
23 |
MAN1= rigctl.1 rotctl.1 |
24 |
MAN1= rigctl.1 rigmem.1 rotctl.1 |
24 |
MAN8= rpc.rigd.8 rpc.rotd.8 |
25 |
MAN8= rpc.rigd.8 rpc.rotd.8 |
25 |
|
26 |
|
26 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
27 |
|
28 |
|
|
|
29 |
.if defined(WITH_XML) |
30 |
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 |
31 |
PLIST_SUB+= XML="" |
32 |
.else |
33 |
CONFIGURE_ARGS+= --disable-xmltest |
34 |
PLIST_SUB+= XML="@comment " |
35 |
.endif |
36 |
|
28 |
.if defined(WITH_TCL) |
37 |
.if defined(WITH_TCL) |
29 |
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83 |
38 |
LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84 |
30 |
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3 |
39 |
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.4 --with-tcl-binding |
31 |
PLIST_SUB+= TCL="" |
40 |
PLIST_SUB+= TCL="" |
32 |
.else |
41 |
.else |
33 |
CONFIGURE_ARGS+= --without-with-tcl --without-with-tcl-binding |
42 |
CONFIGURE_ARGS+= --without-tcl-binding |
34 |
PLIST_SUB+= TCL="@comment " |
43 |
PLIST_SUB+= TCL="@comment " |
35 |
.endif |
44 |
.endif |
36 |
|
45 |
|
|
|
46 |
.if defined(WITH_PYTHON) |
47 |
USE_PYTHON= yes |
48 |
BUILD_DEPENDS+= swig1.3:${PORTSDIR}/devel/swig13 |
49 |
CONFIGURE_ARGS+= --with-python-binding |
50 |
PLIST_SUB+= PYTHON="" |
51 |
.else |
52 |
CONFIGURE_ARGS+= --without-python-binding |
53 |
PLIST_SUB+= PYTHON="@comment " |
54 |
.endif |
55 |
|
37 |
.if defined(WITH_RIGMATRIX) |
56 |
.if defined(WITH_RIGMATRIX) |
38 |
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd |
57 |
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd |
39 |
CONFIGURE_ARGS+= --with-rigmatrix |
58 |
CONFIGURE_ARGS+= --with-rigmatrix |
Lines 47-80
Link Here
|
47 |
CONFIGURE_ARGS+= --with-gnuradio |
66 |
CONFIGURE_ARGS+= --with-gnuradio |
48 |
PLIST_SUB+= GNURADIO="" |
67 |
PLIST_SUB+= GNURADIO="" |
49 |
.else |
68 |
.else |
50 |
CONFIGURE_ARGS+= --without-with-gnuradio |
69 |
CONFIGURE_ARGS+= --without-gnuradio |
51 |
PLIST_SUB+= GNURADIO="@comment " |
70 |
LIST_SUB+= GNURADIO="@comment " |
52 |
.endif |
|
|
53 |
|
54 |
.if defined(WITH_MICROTUNE) |
55 |
CONFIGURE_ARGS+= --with-microtune |
56 |
PLIST_SUB+= MICROTUNE="" |
57 |
.else |
58 |
CONFIGURE_ARGS+= --without-with-microtune |
59 |
PLIST_SUB+= MICROTUNE="@comment " |
60 |
.endif |
71 |
.endif |
61 |
|
72 |
|
62 |
pre-everything:: |
73 |
pre-everything:: |
63 |
.if !defined(WITH_TCL) || !defined(WITH_RIGMATRIX) |
74 |
.if !defined(WITH_TCL) || !defined(WITH_PYTHON) || !defined(WITH_RIGMATRIX) |
64 |
@${ECHO_MSG} "You can specify the following command lines:" |
75 |
@${ECHO_MSG} "You can specify the following command lines:" |
65 |
@${ECHO_MSG} "" |
76 |
@${ECHO_MSG} "" |
66 |
.endif |
77 |
.endif |
|
|
78 |
.if !defined(WITH_XML) |
79 |
@${ECHO_MSG} "WITH_XML=yes for XML support" |
80 |
.endif |
67 |
.if !defined(WITH_TCL) |
81 |
.if !defined(WITH_TCL) |
68 |
@${ECHO_MSG} "WITH_TCL=yes for TCL support" |
82 |
@${ECHO_MSG} "WITH_TCL=yes for TCL Binding support" |
|
|
83 |
.endif |
84 |
.if !defined(WITH_PYTHON) |
85 |
@${ECHO_MSG} "WITH_PYTHON=yes for PYTHON Binding support" |
69 |
.endif |
86 |
.endif |
70 |
.if !defined(WITH_RIGMATRIX) |
87 |
.if !defined(WITH_RIGMATRIX) |
71 |
@${ECHO_MSG} "WITH_RIGMATRIX=yes for RigMatrix support" |
88 |
@${ECHO_MSG} "WITH_RIGMATRIX=yes for RigMatrix support" |
72 |
.endif |
89 |
.endif |
73 |
#.if !defined(WITH_GNURADIO) |
90 |
#.if !defined(WITH_GNURADIO) |
74 |
# @${ECHO_MSG} "WITH_GNURADIO=yes for GNURadio support" |
91 |
# @${ECHO_MSG} "WITH_GNURADIO=yes for GNURadio support" |
75 |
#.endif |
|
|
76 |
#.if !defined(WITH_MICROTUNE) |
77 |
# @${ECHO_MSG} "WITH_MICROTUNE=yes for MicroTune support" |
78 |
#.endif |
92 |
#.endif |
|
|
93 |
@${ECHO_MSG} "" |
79 |
|
94 |
|
80 |
.include <bsd.port.post.mk> |
95 |
.include <bsd.port.post.mk> |