mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
72ea7e696b
With hat: portmgr Sponsored by: Absolight
34 lines
809 B
Makefile
34 lines
809 B
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xdiskusage
|
|
PORTVERSION= 1.51
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
|
|
|
|
USES= gmake tar:tgz
|
|
|
|
CXXFLAGS+= `fltk-config --cxxflags`
|
|
LDFLAGS+= `fltk-config --ldflags`
|
|
|
|
PLIST_FILES= bin/xdiskusage 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}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|