blob: ad9a57ff479dd2b8b003a6e3ee9fa550cc687238 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $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
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>
|