freebsd-ports/comms/fl_moxgen/Makefile
Diane Bruce 71e6d8446d - Maintainer update: comms/fl_moxgen to latest (1.00)
- stage support

Version 1.00 - 20-JUL-2013
        * Minor updates to the documentation
        * Fixed Makefile problem with fl_moxgen_defines.h
        * Be sure Calculate was pressed before generating outputs
        * Be sure wire size input was entered prior to Calculate
        * Check legal value of AWG input

PR:		ports/188538
Submitted by:	Stephen Hurd <shurd@sasktel.net> (maintainer)
2014-04-12 23:59:33 +00:00

41 lines
969 B
Makefile

# Created by: Stephen Hurd <shurd@sasktel.net>
# $FreeBSD$
PORTNAME= fl_moxgen
PORTVERSION= 1.00
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= libfltk.so:${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)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPDF}
LIB_DEPENDS+= libhpdf.so:${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}|' \
-e 's|%%STAGEDIR%%|${STAGEDIR}|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>