aboutsummaryrefslogtreecommitdiffstats
path: root/comms/twpsk/Makefile
blob: e3e3aa85dc6eff0ef8dc937ba2d2f7624742051c (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    twpsk
# Date created:         2005-05-27
# Whom:                 Søren Straarup <xride@x12.dk>
#
# $FreeBSD$
#

PORTNAME=   twpsk
PORTVERSION=    2.1
PORTREVISION=   3
CATEGORIES= comms hamradio
MASTER_SITES=   http://www.ibiblio.org/pub/linux/apps/ham/

MAINTAINER= xride@FreeBSD.org
COMMENT=    A openmotif X psk31 client

USE_XORG=   xpm
USE_MOTIF=  yes

MAN1=       psk31.1

FILES_TO_PATCH= Makefile psk31.1 twpskHelp user-twpsk/makefile \
                user-twpsk/savedir/makefile \
                user-twpsk/savedir/INSTALL \
                user-twpsk/twpskHelp \
                user/term-psk31.C \
                user-twpsk/twpsk.C \
                user-twpsk/twpskDiags.C \
                user-twpsk/savedir/twpsk.C \
                user-twpsk/savedir/twpskDiags.C \
                user-twpsk/savedir/twpskHelp
post-patch:
.for file in ${FILES_TO_PATCH}
    @${REINPLACE_CMD} -e \
        's|/usr/local|${LOCALBASE}|g;s|/usr/X11R6|${X11BASE}|g' \
        ${WRKSRC}/${file}
.endfor

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN=     Does not compile with GCC 4.2
.endif
.endif

.include <bsd.port.post.mk>