freebsd-ports/audio/autozen/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
2000-10-05 02:36:23 -04:00
WRKSRC= ${WRKDIR}/${PORTNAME}-1.2
USE_X_PREFIX= yes
2000-10-05 02:36:23 -04:00
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
2000-10-05 02:36:23 -04:00
.include <bsd.port.mk>