60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
32 lines
879 B
Makefile
32 lines
879 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linpsk
|
|
PORTVERSION= 1.2
|
|
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:${PORTSDIR}/math/fftw3 \
|
|
libasound.so:${PORTSDIR}/audio/alsa-lib
|
|
|
|
USES= qmake tar:tgz
|
|
USE_QT4= 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>
|