aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aldo/Makefile
blob: 7c95bc4582b2e11ef6dd1b20c4c8970bf90e7d96 (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
# New ports collection makefile for:    aldo
# Date created:     16 March 2004
# Whom:         lambert@lambertfam.org
#
# $FreeBSD$
#

PORTNAME=   aldo
PORTVERSION=    0.6.11
CATEGORIES= comms hamradio
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes
MAKE_ENV=   CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"

PLIST_FILES=    bin/aldo
MAN1=   aldo.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN= "Doesn't build on FreeBSD < 5.x"
.endif

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

.include <bsd.port.post.mk>