diff options
author | db <db@FreeBSD.org> | 2009-10-13 22:41:33 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2009-10-13 22:41:33 +0800 |
commit | bdaf8f5d7893418d5d6ea2daebf50a98bb1618ca (patch) | |
tree | 40673b6b14ac8e482706a9e7c5312d17b29990d4 /comms/linrad/Makefile | |
parent | ae9de60aa53e7a4a5dabf7571e30c98addd0f262 (diff) | |
download | freebsd-ports-gnome-bdaf8f5d7893418d5d6ea2daebf50a98bb1618ca.tar.gz freebsd-ports-gnome-bdaf8f5d7893418d5d6ea2daebf50a98bb1618ca.tar.zst freebsd-ports-gnome-bdaf8f5d7893418d5d6ea2daebf50a98bb1618ca.zip |
- Update to 3.08 linrad
- remove patches for code accepted upstream
Diffstat (limited to 'comms/linrad/Makefile')
-rw-r--r-- | comms/linrad/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile index 6171c0fdb9e7..961512241425 100644 --- a/comms/linrad/Makefile +++ b/comms/linrad/Makefile @@ -6,14 +6,13 @@ # PORTNAME= linrad -PORTVERSION= 3.03 +PORTVERSION= 3.08 CATEGORIES= comms hamradio MASTER_SITES= http://www.nitehawk.com/sm5bsz/linuxdsp/archive/\ http://g7rau.demon.co.uk/sm5bsz/linuxdsp/archive/\ http://www.sm5bsz.com/linuxdsp/archive/ -DISTNAME= lir03-03 +DISTNAME= lir03-08 EXTRACT_SUFX= .tbz -DIST_SUBDIR= ${PORTNAME} MAINTAINER= db@FreeBSD.org COMMENT= Amateur Radio DSP utility (SDR) @@ -24,6 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-0${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" USE_GMAKE= yes USE_BZIP2= yes ALL_TARGET= xlinrad @@ -31,15 +32,21 @@ USE_XORG= x11 ONLY_FOR_ARCHS= i386 LINRAD_DOCFILES= z_APM.txt z_BUFFERS.txt z_CALIBRATE.txt \ z_COPYRIGHT.txt z_GIFINFO.txt \ - z_MOUSE.txt z_NETWORK.txt \ + z_MORSE_DECODING.txt z_MOUSE.txt z_NETWORK.txt \ z_PARALLEL_PORT.txt z_SETTINGS.txt \ z_USERS_EXTRA.txt z_USERS_HWARE.txt +.include <bsd.port.pre.mk> post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g'\ + -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}/|' \ ${WRKSRC}/help.c +.if ${OSVERSION} >= 800000 + @${REINPLACE_CMD} -e "s|ttyd|ttyu|" \ + ${WRKSRC}/lxsys.c +.endif do-install: ${MKDIR} ${DATADIR} @@ -60,4 +67,4 @@ do-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |