2000-12-31 06:48:48 +00:00
|
|
|
# New ports collection makefile for: opmixer
|
|
|
|
# Date created: 2000-12-29
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opmixer
|
2006-04-11 15:07:48 +00:00
|
|
|
PORTVERSION= 0.75
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 3
|
2000-12-31 06:48:48 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/optronic/opMixer/${PORTVERSION}
|
2006-04-11 15:07:48 +00:00
|
|
|
DISTNAME= opMixer-${PORTVERSION}
|
2000-12-31 06:48:48 +00:00
|
|
|
|
2006-02-11 21:03:14 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 14:34:33 +00:00
|
|
|
COMMENT= Adjusts a mixer
|
2000-12-31 06:48:48 +00:00
|
|
|
|
2006-05-29 05:53:26 +00:00
|
|
|
LIB_DEPENDS= gtkmm-1.2.2:${PORTSDIR}/x11-toolkits/gtkmm12
|
2000-12-31 06:48:48 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-04-11 15:07:48 +00:00
|
|
|
USE_GNOME= gtk12 gnometarget
|
|
|
|
GNU_CONFIGURE= yes
|
2000-12-31 06:48:48 +00:00
|
|
|
|
2006-04-11 15:07:48 +00:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= ${BIN_PROGRAMS:S/^/bin\//}
|
2004-09-19 02:59:05 +00:00
|
|
|
|
2006-04-11 15:07:48 +00:00
|
|
|
BIN_PROGRAMS= opmixer opmixer-load volset
|
2004-09-19 02:59:05 +00:00
|
|
|
|
2006-04-11 15:07:48 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|(VScale \*)|VScale *|g ; \
|
|
|
|
s|(Adjustment \*)|Adjustment *|g ; \
|
|
|
|
s|(CheckButton \*)|CheckButton *|g' ${WRKSRC}/src/gui.cc
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<string\.h>|<cstring>|g ; \
|
|
|
|
s|<iostream\.h>|<iostream>|g ; \
|
|
|
|
s|(LineInfo \*)|LineInfo *|g ; \
|
|
|
|
s| cout| std::cout|g ; \
|
|
|
|
s| endl| std::endl|g' ${WRKSRC}/src/ossmixer.cc
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<stdlib\.h>|<cstdlib>|g ; \
|
|
|
|
s|<stdio\.h>|<cstdio>|g' ${WRKSRC}/src/ossmixer.hh
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's| endl| std::endl|g' ${WRKSRC}/src/volset.cc
|
2000-12-31 06:48:48 +00:00
|
|
|
|
|
|
|
do-install:
|
2006-04-11 15:07:48 +00:00
|
|
|
.for file in ${BIN_PROGRAMS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
2000-12-31 06:48:48 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-04-11 15:07:48 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-05-22 15:10:50 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2000-12-31 06:48:48 +00:00
|
|
|
.endif
|
|
|
|
|
2004-09-19 02:59:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|