blob: 4dfae2c5a8da88a22e1518d4239e9bbaefcc692e (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# ports collection makefile for: hf
# Date created: 31 July 2006
# Whom: db
#
# $FreeBSD$
#
PORTNAME= hf
PORTVERSION= 0.8
PORTREVISION= 8
CATEGORIES= comms hamradio
MASTER_SITES= SF/${PORTNAME}term/${PORTNAME}/${PORTVERSION}
MAINTAINER= db@FreeBSD.org
COMMENT= Amateur Radio soundcard fsk, pactor 1, amtor, gtor, mt63
RUN_DEPENDS= whiptail:${PORTSDIR}/devel/newt
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}
MAKE_JOBS_UNSAFE= yes
MANLANG= "" "de.ISO8859-1"
MAN1= hf.1 hfterm.1 hfkernel.1
MAN1_EN= dcf77gen.1 dcf77rx.1
CONFLICTS= sysutils/lbl-hf-1.*
post-configure:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \
${WRKSRC}/hfkernel/Makefile
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/util/reffreq.c ${WRKSRC}/scripts/Makefile
post-install:
@${ECHO} ""
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for d in ${WRKSRC}/doc/hf-examplefiles/fix.[0-1]*[0-9]* \
${WRKSRC}/doc/hf-examplefiles/gag
@${INSTALL_DATA} ${WRKSRC}/${d} ${EXAMPLESDIR}
.endfor
@${ECHO} "hf examples installed in ${EXAMPLESDIR}"
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for d in ${WRKSRC}/doc/AUTHORS ${WRKSRC}/doc/ChangeLog \
${WRKSRC}/doc/DE-HF-HOWTO.txt ${WRKSRC}/doc/HF-HOWTO.txt \
${WRKSRC}/doc/INSTALL ${WRKSRC}/doc/LIESMICH \
${WRKSRC}/doc/P-MB-list.txt ${WRKSRC}/doc/README \
${WRKSRC}/doc/chan_formulas.ps ${WRKSRC}/doc/chan_formulas.tex \
${WRKSRC}/doc/dcf77.txt ${WRKSRC}/doc/english.txt \
${WRKSRC}/doc/lfconv.jpg ${WRKSRC}/doc/mt63.txt \
${WRKSRC}/doc/pactor.ps ${WRKSRC}/doc/pactor.txt \
${WRKSRC}/doc/pactor_statediag.fig
@${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
.endfor
@${ECHO} "hf docs installed in ${DOCSDIR}"
.endif
@${ECHO} ""
.include <bsd.port.mk>
|