From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 10:10:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F046D892; Wed, 5 Feb 2014 10:10:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DD10016AE; Wed, 5 Feb 2014 10:10:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15AA13x070291; Wed, 5 Feb 2014 10:10:01 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15AA1J5070289; Wed, 5 Feb 2014 10:10:01 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402051010.s15AA1J5070289@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 5 Feb 2014 10:10:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342678 - head/audio/ocp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 10:10:02 -0000 Author: ehaupt Date: Wed Feb 5 10:10:01 2014 New Revision: 342678 URL: http://svnweb.freebsd.org/changeset/ports/342678 QAT: https://qat.redports.org/buildarchive/r342678/ Log: - Strip binaries/shared objects - Convert to desktop-file-utils Modified: head/audio/ocp/Makefile Modified: head/audio/ocp/Makefile ============================================================================== --- head/audio/ocp/Makefile Wed Feb 5 09:49:12 2014 (r342677) +++ head/audio/ocp/Makefile Wed Feb 5 10:10:01 2014 (r342678) @@ -3,7 +3,7 @@ PORTNAME= ocp PORTVERSION= 0.1.20 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= http://stian.cubic.org/ocp/ \ @@ -22,13 +22,13 @@ LIB_DEPENDS= libid3tag.so:${PORTSDIR}/au ONLY_FOR_ARCHS= i386 amd64 GNU_CONFIGURE= yes -USES= ncurses gmake pkgconfig +USES= ncurses gmake pkgconfig desktop-file-utils USE_LDCONFIG= yes INSTALLS_ICONS= yes -MAKE_JOBS_UNSAFE= yes -WANT_GNOME= desktopfileutils USE_GCC= any +MAKE_JOBS_UNSAFE= yes + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -L${LOCALBASE}/lib ${CPPFLAGS} @@ -67,7 +67,6 @@ RUN_DEPENDS+= ${TIMIDITY_CFG}:${PORTSDIR .if ${PORT_OPTIONS:MX11} USE_XORG= xxf86dga xxf86vm xpm -USE_GNOME= desktopfileutils CONFIGURE_ARGS+= --with-x11=yes PLIST_SUB+= XORG="" .else @@ -86,7 +85,6 @@ CONFIGURE_ARGS+= --without-adplug .if ${PORT_OPTIONS:MSDL} USE_SDL= sound -USE_GNOME+= desktopfileutils CONFIGURE_ARGS+= --with-sdl=yes PLIST_SUB+= SDL="" .else @@ -120,5 +118,11 @@ post-patch: @${REINPLACE_CMD} -e 's|<\(fnmatch.h\)>|"/usr/include/\1"|' \ ${WRKSRC}/filesel/adb.c \ ${WRKSRC}/filesel/pfilesel.c + @${REINPLACE_CMD} -e '1s|bash|sh|' ${WRKSRC}/ultrafix.sh + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so .include