mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
99d6d12a38
While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
37 lines
955 B
Makefile
37 lines
955 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linpsk
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Simple Qt PSK31, RTTY, and MSK31 client
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
LIB_DEPENDS= libfftw3.so:math/fftw3 \
|
|
libasound.so:audio/alsa-lib
|
|
|
|
USES= qmake qt:4 tar:tgz
|
|
USE_QT= gui network corelib moc_build uic_build rcc_build qmake_build
|
|
DESKTOP_ENTRIES="LinPsk" "${COMMENT}" \
|
|
"${DATADIR}/linpsk.png" "linpsk" "Audio;HamRadio;" \
|
|
false
|
|
|
|
PLIST_FILES= bin/linpsk \
|
|
%%DATADIR%%/linpsk.png
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>|<!-- & -->|g' \
|
|
${WRKSRC}/gui/*.ui
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/images/linpsk.png ${STAGEDIR}${DATADIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/linpsk
|
|
|
|
.include <bsd.port.mk>
|