2013-03-21 18:39:03 +01:00
|
|
|
# Created by: Stephen Hurd <shurd@sasktel.net>
|
2012-05-17 20:58:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fl_moxgen
|
|
|
|
PORTVERSION= 0.05
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 1
|
2012-05-17 20:58:23 +02: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
|
|
|
|
|
2013-12-11 16:10:44 +01:00
|
|
|
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
|
2012-05-17 20:58:23 +02:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \
|
|
|
|
"Network;HamRadio;" "false"
|
|
|
|
|
2013-03-21 18:39:03 +01:00
|
|
|
OPTIONS_DEFINE= PDF
|
|
|
|
OPTIONS_DEFAULT= PDF
|
|
|
|
PDF_DESC= Enable PDF Writing (requires libharu)
|
2012-05-17 20:58:23 +02:00
|
|
|
|
2013-09-20 18:03:29 +02:00
|
|
|
NO_STAGE= yes
|
2012-05-17 20:58:23 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-03-21 18:39:03 +01:00
|
|
|
.if ${PORT_OPTIONS:MPDF}
|
2013-12-11 16:10:44 +01:00
|
|
|
LIB_DEPENDS+= libhpdf.so:${PORTSDIR}/print/libharu
|
2012-05-17 20:58:23 +02:00
|
|
|
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>
|