aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aldo/Makefile
blob: 42a78f959c6b62d3577c9dac25299a55970a1284 (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
# Created by: lambert@lambertfam.org
# $FreeBSD$

PORTNAME=   aldo
PORTVERSION=    0.7.5
PORTREVISION=   2
CATEGORIES= comms hamradio
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= lambert@lambertfam.org
COMMENT=    Morse code training program

LIB_DEPENDS=    ao:${PORTSDIR}/audio/libao

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  autoconf automake libtool
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
        --libdir="${LOCALBASE}/lib"
USE_GMAKE=  yes

PLIST_FILES=    bin/aldo
MAN1=   aldo.1

AUTOTOOLSFILES= aclocal.m4

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|1.10|%%AUTOMAKE_APIVER%%|g' \
              -e 's|2.61|%%AUTOCONF_VERSION%%|g' \
              ${WRKSRC}/aclocal.m4

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/aldo ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/aldo.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>