aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aldo/Makefile
blob: a3bf0ac7c82b9be6873eca2ca9470b3ad3b7fc04 (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
# 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=    libao.so:${PORTSDIR}/audio/libao

GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  autoconf automake
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
        --libdir="${LOCALBASE}/lib"
USES=       gmake libtool tar:bzip2
USE_GCC=    any

PLIST_FILES=    bin/aldo \
        man/man1/aldo.1.gz

AUTOTOOLSFILES= aclocal.m4

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 ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/aldo.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>