1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/timidity/Makefile
Edwin Groothuis 147273eda9 audio/timidity installs files with invalid uid and gid.
audio/timidity installs some files with invalid uid and gid.
        This is caused by installing the files directly from
        an archive.  Tar with a root priviledge preserves owners
        and permissions by default.

PR:		ports/67397
Submitted by:	Taoka Fumiyoshi <fmysh@iijmio-mail.jp>
2004-05-31 04:30:53 +00:00

39 lines
971 B
Makefile

# New ports collection makefile for: timidity
# Date created: 17 Nov 1996
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= timidity
PORTVERSION= 0.2i
CATEGORIES= audio
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/misc/hardware/soundcard/gus/:tiins \
http://www.onicos.com/staff/iz/timidity/dist/:timidity
DISTFILES= ${TIINS}:tiins ${DISTNAME}.tar.gz:timidity
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= MIDI to WAV renderer and player
CONFLICTS= timidity++-2.11.*
NO_CDROM= "Uses copyrighted patches"
TIINS= goemon.tgz
INSTALL_TARGET= install.all
MAN1= timidity.1
USE_REINPLACE= yes
post-patch:
${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \
${WRKSRC}/linux_a.c
post-install:
cd ${PREFIX}/lib/timidity && \
${TAR} --no-same-owner --no-same-permissions -zxf ${DISTDIR}/${TIINS} && \
${REINPLACE_CMD} -i "" -e 's,dir goemon,dir ${PREFIX}/lib/timidity/goemon,' \
goemon.cfg
.include <bsd.port.mk>