freebsd-ports/audio/autozen/Makefile
Trevor Johnson 15bcfa1556 Remove pre-compiled i386 executables that come with the distfile
(especially important on the Alpha).

Submitted by:	steve
2000-11-03 08:34:00 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: autozen
# Date created: 2000-09-16
# Whom: Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#
PORTNAME= autozen
PORTVERSION= 1.2.1
CATEGORIES= audio
MASTER_SITES= http://www.linuxlabs.com/software/download/
DISTNAME= AutoZen-${PORTVERSION}
MAINTAINER= trevor@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-1.2
USE_X_PREFIX= yes
USE_GTK= yes
DOC_FILES= CHANGES COPYING
DATA_FILES= deep-relax.seq relax.seq test.seq test2.seq test3.seq
post-patch:
@if [ -f /usr/include/sys/soundcard.h ]; then \
${PERL} -pi -e "s=linux/soundcard.h=sys/soundcard.h=g" \
${WRKSRC}/autozen.c; \
else \
${PERL} -pi -e "s=linux/soundcard.h=machine/soundcard.h=g" \
${WRKSRC}/autozen.c; \
fi
@${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
cd ${WRKSRC} && ${RM} autozen seq2wav
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/autozen ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/seq2wav ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/autozen
.for i in ${DATA_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/autozen
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/autozen
.for i in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/autozen
.endfor
.endif
.include <bsd.port.mk>