freebsd-ports/audio/opmixer/Makefile
Jeremy Messenger 290698847b x11-toolkits/gtk-- -> x11-toolkits/gtkmm12
Rename this ports to use the real vendor package name. The advantage of this
is to allow our users' keyword search works and easier for users to file the
Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and
other OSs have the correct package name, but not in our ports tree.

My team, FreeBSD GNOME Team, have agreed with it.

As for other ports, chase the rename.

PR:		ports/97985
Repocopy by:	marcus
2006-05-29 05:53:26 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: opmixer
# Date created: 2000-12-29
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= opmixer
PORTVERSION= 0.75
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= optronic
DISTNAME= opMixer-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Adjusts a mixer
LIB_DEPENDS= gtkmm-1.2.2:${PORTSDIR}/x11-toolkits/gtkmm12
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12 gnometarget
GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= ${BIN_PROGRAMS:S/^/bin\//}
BIN_PROGRAMS= opmixer opmixer-load volset
.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
do-install:
.for file in ${BIN_PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>