99d6d12a38
While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scythia
|
|
DISTVERSION= 0.9.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= ftp
|
|
MASTER_SITES= http://scythia.free.fr/wp-content/ \
|
|
ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}-2-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Small ftp client unpretentious based on Qt4
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
USES= qmake qt:4
|
|
USE_QT= gui network corelib uic_build moc_build rcc_build
|
|
INSTALLS_ICONS= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_INSTALL_TARGET_OFF= install_lang install_icon install_icon2 install_target
|
|
|
|
DESKTOP_ENTRIES= "Scythia" \
|
|
"Small ftp client unpretentious" \
|
|
"scythia" \
|
|
"scythia" \
|
|
"Network;FileTransfer;Qt;" \
|
|
"true"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
|
|
-e '/unix:desktop/d' \
|
|
${WRKSRC}/scythia.pro
|
|
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
|
|
${WRKSRC}/src/main.cpp
|
|
|
|
.include <bsd.port.mk>
|