freebsd-ports/ftp/scythia/Makefile

43 lines
1 KiB
Makefile
Raw Normal View History

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