mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Support stage
This commit is contained in:
parent
0a060a4471
commit
645639e1e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351861
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user