Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 10:10:01 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342678 - head/audio/ocp
Message-ID:  <201402051010.s15AA1J5070289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402051010.s15AA1J5070289>