aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/scythia/Makefile
blob: 450d8feedfd770fd3a910b0088ed485b5fdbda2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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

USES=       qmake
USE_QT4=    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>