aboutsummaryrefslogtreecommitdiff
path: root/audio/xanalyser/Makefile
blob: ced0d58b324ee7cf266ed5ff4ca8b2215c3e45ec (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:	xanalyser
# Date created:				October 29 2006
# Whom:					Diane Bruce <db@db.net
#
# $FreeBSD$
#

PORTNAME=	xanalyser
PORTVERSION=	1.29
CATEGORIES=	audio hamradio
MASTER_SITES=	http://arvin.schnell-web.net/xanalyser/

MAINTAINER=	db@db.net
COMMENT=	Spectrum analyser

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_XLIB=	yes
USE_MOTIF=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	libtool:15
MAN1=		xanalyser.1
PLIST_FILES=	bin/xanalyser \
		lib/X11/app-defaults/XAnalyser

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN=	Does not compile
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
	-e 's|-lXm |${MOTIFLIB} |g' ${WRKSRC}/src/Makefile.in

.include <bsd.port.post.mk>