blob: c7e47dcba895e30873de490a425391ea89590470 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Stephen Hurd <shurd@sasktel.net>
# $FreeBSD$
PORTNAME= fl_moxgen
PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= flmoxgen
DISTNAME= Fl_MoxGen-${PORTVERSION}
MAINTAINER= shurd@sasktel.net
COMMENT= Compute the dimensions of a Moxon Rectangle antenna
LICENSE= GPLv3
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk
DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \
"Network;HamRadio;" "false"
OPTIONS_DEFINE= PDF
OPTIONS_DEFAULT= PDF
PDF_DESC= Enable PDF Writing (requires libharu)
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPDF}
LIB_DEPENDS+= hpdf:${PORTSDIR}/print/libharu
ALL_TARGET= fl_moxgen
.else
ALL_TARGET= fl_moxgen_no_pdf
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|%%DATADIR%%|${DATADIR}|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>
|