1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/x11-fm/xdiskusage/Makefile
mew14930xvi 0f7c7b178a x11-fm/xdiskusage: Update to 1.60
Fixed systems that don't have getdelim (ie non-Linux)

PR:		277857
Reported by:	mew14930xvi@inbox.lv
2024-05-09 08:36:55 +02:00

37 lines
961 B
Makefile

PORTNAME= xdiskusage
DISTVERSION= 1.60
CATEGORIES= x11-fm
MASTER_SITES= http://xdiskusage.sourceforge.net/ \
http://www.gnu-darwin.org/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Show where disk space is taken up
WWW= https://xdiskusage.sourceforge.net/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/README
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
USES= gmake tar:tgz xorg
USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
CXXFLAGS+= `fltk-config --cxxflags`
LDFLAGS+= `fltk-config --ldflags`
PLIST_FILES= bin/xdiskusage share/man/man1/xdiskusage.1.gz
post-patch:
@${REINPLACE_CMD} -e '/^configure:/d; /autoconf/d' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/@CXXFLAGS@/s|$$| ${CXXFLAGS}|' \
${WRKSRC}/makeinclude.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xdiskusage.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>