aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aldo/Makefile
blob: 3a62eaa4b8a1b1f44a90396991273ffa81b3ee70 (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
# New ports collection makefile for:    aldo
# Date created:     16 March 2004
# Whom:         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

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>