1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/x11-fm/xdiskusage/Makefile
Anders Nordby e5f8c5eea9 This port works, remove IGNORE/EXPIRATION_DATE/DEPRECATED.
Update to 1.47.
Assume maintainership.

Approved by:	maintainer neglect
2004-08-23 20:42:42 +00:00

41 lines
986 B
Makefile

# New ports collection makefile for: xdiskusage
# Date created: 2000-09-23
# Whom: Trevor Johnson
#
# $FreeBSD$
#
PORTNAME= xdiskusage
PORTVERSION= 1.47
CATEGORIES= x11-fm
MASTER_SITES= http://xdiskusage.sourceforge.net/
EXTRACT_SUFX= .tgz
MAINTAINER= anders@FreeBSD.org
COMMENT= Show where disk space is taken up
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
MAN1= xdiskusage.1
USE_GMAKE= yes
USE_X_PREFIX= yes
do-build:
.for i in panels xdiskusage
${CXX} ${CXXFLAGS} -I${X11BASE}/include -c \
${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o
.endfor
${CXX} ${CXXFLAGS} -L${X11BASE}/lib -o \
${WRKSRC}/xdiskusage ${WRKSRC}/panels.o \
${WRKSRC}/xdiskusage.o -lfltk -lm -lXext -lX11
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xdiskusage.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xdiskusage
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdiskusage
.endif
.include <bsd.port.mk>