freebsd-ports/audio/baudline/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: baudline
# Date created: 19 Jan 2002
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#
PORTNAME= baudline
PORTVERSION= 1.07
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/}_linux_i686
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time signal analysis and time-frequency browser
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
ONLY_FOR_ARCHS= i386 amd64
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
do-build:
@${BRANDELF} -t Linux ${WRKSRC}/baudline
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/baudline ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
@[ -f /compat/linux/proc/stat ] || ${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>