diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-05-17 18:58:23 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-05-17 18:58:23 +0000 |
commit | f68a3224baa32618b315709aacb9bb17785c5e1f (patch) | |
tree | 26f5bbc9503205abd9eae15d048bf2881c5dd060 /comms/fl_moxgen/Makefile | |
parent | 00c4181b3ecc512d6668a128a4510d259aa0f1d5 (diff) |
Notes
Diffstat (limited to 'comms/fl_moxgen/Makefile')
-rw-r--r-- | comms/fl_moxgen/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/comms/fl_moxgen/Makefile b/comms/fl_moxgen/Makefile new file mode 100644 index 000000000000..48ffefc68237 --- /dev/null +++ b/comms/fl_moxgen/Makefile @@ -0,0 +1,42 @@ +# 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> |