1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11-fm/qtfm/Makefile
Dmitry Marakasov b6f8074097 - Fix build on 10.x
- Fix stripping with regard to staging

PR:		186672
Submitted by:	amdmi3
Approved by:	anoine (portmgr)
2014-02-14 13:20:26 +00:00

33 lines
730 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= qtfm
DISTVERSION= 5.5
CATEGORIES= x11-fm
MASTER_SITES= http://www.qtfm.org/
MAINTAINER= lichray@gmail.com
COMMENT= Small, lightweight file manager based on pure Qt
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= dos2unix qmake
DOS2UNIX_REGEX= .*\.(h|cpp)
USE_QT4= gui network moc_build rcc_build \
imageformats_run
post-patch:
@cd ${WRKSRC} && \
${REINPLACE_CMD} -e s@/usr/@${PREFIX}/@g \
-e s@share/qtfm@${DATADIR_REL}@ \
qtfm.pro src/main.cpp
@cd ${WRKSRC}/src && \
${REINPLACE_CMD} -e s@/usr/@${LOCALBASE}/@g \
icondlg.cpp mainwindow.cpp mymodel.cpp
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtfm
.include <bsd.port.mk>