mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
5898d7df5c
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
39 lines
937 B
Makefile
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>
|