# New ports collection makefile for:	audio/linux-genpuid
# Date created:		2009-03-24
# Whom:			Christopher Key <cjk32@cam.ac.uk>
#
# $FreeBSD: ports/audio/linux-genpuid/Makefile,v 1.1 2009/07/26 12:49:54 bsam Exp $
#

PORTNAME=	genpuid
PORTVERSION=	1.4
CATEGORIES=	audio linux
MASTER_SITES=	https://secure.musicip.com/dns/files/
PKGNAMEPREFIX=	linux-
DISTNAME=	${PORTNAME}_linux_${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	cjk32@cam.ac.uk
COMMENT=	Application for generating MusicIP puids

USE_LINUX=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/genpuid bin/mipcore libexec/mipcore

do-install:
	${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME}-${PORTVERSION}/genpuid
	${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mipcore
	${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/genpuid ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mipcore ${PREFIX}/libexec
	${LN} -fhs ${PREFIX}/libexec/mipcore ${PREFIX}/bin/mipcore

.include <bsd.port.mk>
