aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-fm/Makefile1
-rw-r--r--x11-fm/ultracopier/Makefile51
-rw-r--r--x11-fm/ultracopier/distinfo2
-rw-r--r--x11-fm/ultracopier/pkg-descr3
-rw-r--r--x11-fm/ultracopier/pkg-plist6
5 files changed, 63 insertions, 0 deletions
diff --git a/x11-fm/Makefile b/x11-fm/Makefile
index 31954abb7282..573ad48a874c 100644
--- a/x11-fm/Makefile
+++ b/x11-fm/Makefile
@@ -33,6 +33,7 @@
SUBDIR += thunar-vfs
SUBDIR += tkdesk
SUBDIR += twander
+ SUBDIR += ultracopier
SUBDIR += worker
SUBDIR += x-files
SUBDIR += xcruise
diff --git a/x11-fm/ultracopier/Makefile b/x11-fm/ultracopier/Makefile
new file mode 100644
index 000000000000..93811d66ca7a
--- /dev/null
+++ b/x11-fm/ultracopier/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: ultracopier
+# Date created: Mon Aug 1 01:00:17 UTC 2011
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ultracopier
+PORTVERSION= 0.2.0.16
+CATEGORIES= x11-fm kde
+MASTER_SITES= http://files.first-world.info/ultracopier/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= An advanced file copier
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_BZIP2= yes
+USE_GNOME= desktopfileutils
+USE_KDE4= automoc4 kdelibs
+USE_QT_VER= 4
+QT_COMPONENTS= corelib dbus gui moc_build network qmake_build rcc_build svg \
+ uic_build xml xmlpatterns
+
+USE_CMAKE= yes
+CMAKE_ARGS+= -DCMAKE_BUILD_KDE4:bool=true
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+PLIST_SUB= DESKTOPDIR=${DESKTOPDIR_WITHOUT_PREFIX:Q} \
+ ICONS_DIR=${ICONS_DIR:Q}
+
+DESKTOPDIR_WITHOUT_PREFIX= ${DESKTOPDIR:S,^${PREFIX}/,,}
+ICONS_DIR= share/icons/hicolor
+
+post-install:
+# install icons
+.for dimensions in 16x16 128x128
+ @${MKDIR} ${PREFIX}/share/icons/hicolor/${dimensions}/apps
+ @${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier-${dimensions}.png \
+ ${PREFIX}/share/icons/hicolor/${dimensions}/apps/ultracopier.png
+.endfor
+# install desktop file
+ @${MKDIR} ${DESKTOPDIR}
+ @${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier.desktop \
+ ${DESKTOPDIR}
+ @-${LOCALBASE}/bin/update-desktop-database
+
+.include <bsd.port.mk>
diff --git a/x11-fm/ultracopier/distinfo b/x11-fm/ultracopier/distinfo
new file mode 100644
index 000000000000..293e5348736b
--- /dev/null
+++ b/x11-fm/ultracopier/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ultracopier-src-0.2.0.16.tar.bz2) = 3c965899c491ddaa7381de805a62557d224a70c3379f68bb2a24f4bf07d36f30
+SIZE (ultracopier-src-0.2.0.16.tar.bz2) = 430736
diff --git a/x11-fm/ultracopier/pkg-descr b/x11-fm/ultracopier/pkg-descr
new file mode 100644
index 000000000000..408f4999ff44
--- /dev/null
+++ b/x11-fm/ultracopier/pkg-descr
@@ -0,0 +1,3 @@
+Ultracopier is an advanced file copier with copy list management.
+
+WWW: http://ultracopier.first-world.info/
diff --git a/x11-fm/ultracopier/pkg-plist b/x11-fm/ultracopier/pkg-plist
new file mode 100644
index 000000000000..dd3b26921822
--- /dev/null
+++ b/x11-fm/ultracopier/pkg-plist
@@ -0,0 +1,6 @@
+bin/ultracopier
+%%DESKTOPDIR%%/ultracopier.desktop
+%%ICONS_DIR%%/16x16/apps/ultracopier.png
+%%ICONS_DIR%%/128x128/apps/ultracopier.png
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true