1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/ftp/scythia/Makefile
Max Brazhnikov 5898d7df5c - Convert to USES=qmake (and other USES while I'm here)
- Add state support
- Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc.

Approved by:	portmgr (blanket approval)
2013-11-22 12:55:00 +00:00

39 lines
937 B
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= dhn@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}
.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;" \
"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>