Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 16:15:51 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351861 - head/x11-fm/ultracopier
Message-ID:  <201404221615.s3MGFpbu012047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 22 16:15:51 2014
New Revision: 351861
URL: http://svnweb.freebsd.org/changeset/ports/351861
QAT: https://qat.redports.org/buildarchive/r351861/

Log:
  Support stage

Modified:
  head/x11-fm/ultracopier/Makefile

Modified: head/x11-fm/ultracopier/Makefile
==============================================================================
--- head/x11-fm/ultracopier/Makefile	Tue Apr 22 16:10:50 2014	(r351860)
+++ head/x11-fm/ultracopier/Makefile	Tue Apr 22 16:15:51 2014	(r351861)
@@ -9,18 +9,16 @@ MASTER_SITES=	http://files.first-world.i
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An advanced file copier
+COMMENT=	Advanced file copier
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_BZIP2=	yes
-USE_GNOME=	desktopfileutils
 USE_KDE4=	automoc4 kdelibs
 USE_QT4=	corelib dbus gui moc_build network qmake_build rcc_build svg \
 		uic_build xml xmlpatterns
 
-USES=		cmake
+USES=		cmake desktop-file-utils tar:bzip2
 CMAKE_ARGS+=	-DCMAKE_BUILD_KDE4:bool=true
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -30,7 +28,6 @@ PLIST_SUB=	DESKTOPDIR=${DESKTOPDIR_WITHO
 DESKTOPDIR_WITHOUT_PREFIX=	${DESKTOPDIR:S,^${PREFIX}/,,}
 ICONS_DIR=	share/icons/hicolor
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -E \
 		-e 's|0\.2\.0\.15|0.2.0.16|; \
@@ -40,14 +37,13 @@ post-patch:
 post-install:
 # install icons
 .for dimensions in 16x16 128x128
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/${dimensions}/apps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${dimensions}/apps
 	@${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier-${dimensions}.png \
-		${PREFIX}/share/icons/hicolor/${dimensions}/apps/ultracopier.png
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${dimensions}/apps/ultracopier.png
 .endfor
 # install desktop file
-	@${MKDIR} ${DESKTOPDIR}
+	@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
 	@${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier.desktop \
-		${DESKTOPDIR}
-	@-${LOCALBASE}/bin/update-desktop-database
+		${STAGEDIR}${DESKTOPDIR}
 
 .include <bsd.port.mk>



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