diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-23 00:15:51 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-23 00:15:51 +0800 |
commit | 26f0bed795c7fd42f2b7bd1b648ff905378b10fb (patch) | |
tree | 405caf06dc570295ccef036d660676b4f1d4ea71 /x11-fm | |
parent | ede22be8f05b1d1af4359a000bd6f0511e13b6c8 (diff) | |
download | freebsd-ports-gnome-26f0bed795c7fd42f2b7bd1b648ff905378b10fb.tar.gz freebsd-ports-gnome-26f0bed795c7fd42f2b7bd1b648ff905378b10fb.tar.zst freebsd-ports-gnome-26f0bed795c7fd42f2b7bd1b648ff905378b10fb.zip |
Support stage
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/ultracopier/Makefile | 16 |
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> |