1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/audio/opmixer/Makefile
Akinori MUSHA d5819cf547 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
2002-01-29 09:33:26 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: opmixer
# Date created: 2000-12-29
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= opmixer
PORTVERSION= 0.70
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= optronic
MAINTAINER= trevor@FreeBSD.org
LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \
intl.1:${PORTSDIR}/devel/gettext
DOCDIR= share/doc/${PORTNAME}
USE_BZIP2= yes
USE_X_PREFIX= yes
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/opmixer
pre-install:
${ECHO_CMD} "bin/opmixer" > ${PLIST}
${ECHO_CMD} "bin/opmixer-load" >> ${PLIST}
${ECHO_CMD} "bin/volset" >> ${PLIST}
.if !defined(NOPORTDOCS)
${ECHO_CMD} ${DOCDIR}/README >> ${PLIST}
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-patch:
.if exists(/usr/include/machine/soundcard.h)
${PERL} -pi -e "s=sys/soundca=machine/soundca=g" ${WRKSRC}/ossmixer.hh
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/opmixer ${WRKSRC}/opmixer-load \
${WRKSRC}/volset ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
.endif
.include <bsd.port.mk>