1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/x11-fm/qtfm/Makefile
Steve Wills 285bb643e4 x11-fm/qtfm: unbreak
While here, drop maintainer per request.

PR:		229959
Submitted by:	fluffy
2018-08-14 16:40:46 +00:00

36 lines
797 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= qtfm
DISTVERSION= 5.5
PORTREEVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= http://www.qtfm.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, lightweight file manager based on pure Qt
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libinotify.so:devel/libinotify
USES= dos2unix qmake qt:4
DOS2UNIX_REGEX= .*\.(h|cpp)
USE_QT= 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>