summaryrefslogtreecommitdiffstats
path: root/audio/baudline/Makefile
blob: cfbc42e26bac0ce062e6811aae95345863743b3e (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:	baudline
# Date created:				19 Jan 2002
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	baudline
PORTVERSION=	0.90
CATEGORIES=	audio
MASTER_SITES=	http://www.geocities.com/sigfriedblip/baudline/ \
		http://members.telocity.com/~eriko/baudline/
DISTNAME=	baudline_${PORTVERSION:S/.p/pre/}_i686

MAINTAINER=	dyeske@yahoo.com

USE_X_PREFIX=	yes
ONLY_FOR_ARCHS=	i386
USE_LINUX=	yes
NO_BUILD=	yes
STRIP=

RESTRICTED=	"author requests no distribution except from their site"
NO_CDROM=	${RESTRICTED}
NO_PACKAGE=	${RESTRICTED}

.include <bsd.port.pre.mk>

LINPROCFS!=	/sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'

pre-everything::
.if ${LINPROCFS}
	@${ECHO_CMD} ""
	@${ECHO_CMD} "Check if linprocfs is running: YES"
.else
	@${ECHO_CMD} "-----------------------------------------------------------"
	@${ECHO_CMD} ""
	@${ECHO_CMD} "Baudline needs a running linprocfs, which is not"
	@${ECHO_CMD} "activated on your system. Please read the linprocfs\(5\)"
	@${ECHO_CMD} "manpage and add the following line to /etc/fstab:"
	@${ECHO_CMD} ""
	@${ECHO_CMD} "linproc /compat/linux/proc linprocfs rw 0 0"
	@${ECHO_CMD} ""
	@${ECHO_CMD} "-----------------------------------------------------------"
	@${FALSE}
.endif

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/baudline ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in README mailcap.txt mime.types.txt
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud