mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
0e90c109ec
Approved by: portmgr (erwin, kris)
75 lines
2.1 KiB
Makefile
75 lines
2.1 KiB
Makefile
# New ports collection makefile for: baudline
|
|
# Date created: 19 Jan 2002
|
|
# Whom: David Yeske <dyeske@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= baudline
|
|
PORTVERSION= 1.02
|
|
CATEGORIES= audio linux
|
|
# We have permission from author Erik Olsen <erik@sigblips.net> for the
|
|
# package cluster to automatically fetch baudline
|
|
MASTER_SITES= http://www.baudline.com/
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= baudline_${PORTVERSION:S/.p/pre/}_i686
|
|
|
|
MAINTAINER= dyeske@yahoo.com
|
|
COMMENT= A real-time signal analysis tool and an offline time-frequency browser
|
|
|
|
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_LINUX= yes
|
|
ONLY_FOR_ARCHS= i386
|
|
NO_BUILD= yes
|
|
|
|
# Linux binary should not be stripped by INSTALL_PROGRAM
|
|
# because as a side effect it brands the binary as FreeBSD.
|
|
STRIP=
|
|
|
|
RESTRICTED= "author requests no distribution except from their site"
|
|
|
|
PORTDOCS= README mailcap.txt mime.types.txt
|
|
PLIST_FILES= bin/baudline
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
|
|
IGNORE= may not be automatically fetched due to licensing\
|
|
restrictions. You must manually fetch ${DISTFILES} from\
|
|
http://www.baudline.com/download.html. Once ${DISTFILES}\
|
|
has been downloaded, move it to ${DISTDIR} and then\
|
|
restart this build
|
|
.endif
|
|
|
|
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
|
|
|
|
pre-install:
|
|
.if !empty(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 ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|