mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
a66bdf9dd2
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -w -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I. -Isrc -Ibuild -I/usr/local/include/qt4 -I/usr/local/include -o build/mymodel.o src/mymodel.cpp src/mymodel.cpp:24:10: fatal error: 'sys/inotify.h' file not found #include <sys/inotify.h> ^~~~~~~~~~~~~~~ Reported by: pkg-fallout
35 lines
760 B
Makefile
35 lines
760 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
|
|
|
|
BROKEN= fails to build
|
|
|
|
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>
|