aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/ultracopier
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-22 16:15:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-22 16:15:51 +0000
commit645639e1e889f3cfeabe2d369d6b243140376f02 (patch)
tree405caf06dc570295ccef036d660676b4f1d4ea71 /x11-fm/ultracopier
parent0a060a4471857b56d805c56fa8e4348409461313 (diff)
downloadports-645639e1e889f3cfeabe2d369d6b243140376f02.tar.gz
ports-645639e1e889f3cfeabe2d369d6b243140376f02.zip
Notes
Diffstat (limited to 'x11-fm/ultracopier')
-rw-r--r--x11-fm/ultracopier/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-fm/ultracopier/Makefile b/x11-fm/ultracopier/Makefile
index daa247f9d212..c5e40a928784 100644
--- a/x11-fm/ultracopier/Makefile
+++ b/x11-fm/ultracopier/Makefile
@@ -9,18 +9,16 @@ MASTER_SITES= http://files.first-world.info/ultracopier/${PORTVERSION}/
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_WITHOUT_PREFIX:Q} \
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>