openbsd-ports/x11/qdirstat/Makefile
2022-06-30 16:51:29 +00:00

35 lines
906 B
Makefile

COMMENT = Qt-based directory statistics
GH_ACCOUNT = shundhammer
GH_PROJECT = qdirstat
GH_TAGNAME = 1.8.1
CATEGORIES = x11
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Widgets c m
WANTLIB += z
MODULES = devel/qmake \
x11/qt5
RUN_DEPENDS += devel/desktop-file-utils \
x11/gtk+3,-guic
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/src/qdirstat ${PREFIX}/bin/qdirstat
${INSTALL_SCRIPT} ${WRKSRC}/scripts/qdirstat-cache-writer \
${PREFIX}/bin/qdirstat-cache-writer
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/src/qdirstat.desktop \
${PREFIX}/share/applications/qdirstat.desktop
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/32x32/apps/
${INSTALL_DATA} ${WRKSRC}/src/icons/qdirstat.svg \
${PREFIX}/share/icons/hicolor/32x32/apps/qdirstat.svg
.include <bsd.port.mk>