2013-09-20 19:23:18 +02:00
|
|
|
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
2007-07-12 19:20:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scythia
|
2009-03-27 23:10:37 +01:00
|
|
|
DISTVERSION= 0.9.3
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 3
|
2007-07-12 19:20:48 +02:00
|
|
|
CATEGORIES= ftp
|
2009-03-27 23:10:37 +01:00
|
|
|
MASTER_SITES= http://scythia.free.fr/wp-content/ \
|
2007-07-12 19:20:48 +02:00
|
|
|
ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
|
2009-03-27 23:10:37 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}-2-src
|
2007-07-12 19:20:48 +02:00
|
|
|
|
2009-05-04 20:42:24 +02:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2013-01-23 00:13:41 +01:00
|
|
|
COMMENT= Small ftp client unpretentious based on Qt4
|
2007-07-12 19:20:48 +02:00
|
|
|
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= gui network corelib qmake_build uic_build moc_build rcc_build
|
2007-07-12 19:20:48 +02:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2008-07-24 17:16:04 +02:00
|
|
|
INSTALL_TARGET=install_lang install_icon install_icon2 install_target
|
2007-07-12 19:20:48 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES= "Scythia" \
|
2013-01-23 00:13:41 +01:00
|
|
|
"Small ftp client unpretentious" \
|
2007-07-12 19:20:48 +02:00
|
|
|
"scythia" \
|
|
|
|
"scythia" \
|
2013-01-23 00:13:41 +01:00
|
|
|
"Network;FileTransfer;Qt;" \
|
2007-07-12 19:20:48 +02:00
|
|
|
"false"
|
|
|
|
|
2013-09-20 19:23:18 +02:00
|
|
|
NO_STAGE= yes
|
2007-07-12 19:20:48 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@cd ${BUILD_WRKSRC} && \
|
2013-01-23 00:13:41 +01:00
|
|
|
${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} scythia.pro
|
2007-07-12 19:20:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|