freebsd-ports/comms/fl_moxgen/Makefile
Pawel Pekala f68a3224ba Fl_MoxGen is a program that will compute the dimensions
of a Moxon Rectangle antenna based on user input of the
desired resonant frequency in MHz and the wire diameter.

WWW: http://home.comcast.net/~andystewart/moxon_sw.html

PR:		ports/167951
Submitted by:	Stephen Hurd <shurd@sasktel.net>
2012-05-17 18:58:23 +00:00

42 lines
977 B
Makefile

# New ports collection makefile for: fl_moxgen
# Date created: 2012-05-15
# Whom: Stephen Hurd <shurd@sasktel.net>
#
# $FreeBSD$
#
PORTNAME= fl_moxgen
PORTVERSION= 0.05
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= PDF "Enable PDF Writing (requires libharu)" on
.include <bsd.port.options.mk>
.ifdef WITH_PDF
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>