# New ports collection makefile for: ultracopier # Date created: Mon Aug 1 01:00:17 UTC 2011 # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # PORTNAME= ultracopier PORTVERSION= 0.2.0.16 PORTREVISION= 1 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-patch: @${REINPLACE_CMD} -E \ -e 's|0\.2\.0\.15|0.2.0.16|; \ s|0,2,0,15|0,2,0,16|' \ ${WRKSRC}/src/var.h 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