# New ports collection makefile for: xloadface # Date created: 4 February 1998 # Whom: FURUSAWA,Kazuhisa # # $FreeBSD$ # PORTNAME= xloadface PORTVERSION= 1.6.1 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.waseda.ac.jp/pub/X11others/ MAINTAINER= kazu@jp.freebsd.org COMMENT= Network load monitor for X11 BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf PATCH_STRIP= -p1 USE_IMAKE= yes XLOADFACEDIR= $(X11BASE)/lib/X11/xloadface MAN1= xloadface.1 MANLANG= ja .include .if ${OSVERSION} >= 500113 BROKEN= "Does not compile on FreeBSD ${OSVERSION}" .endif pre-build: ${LOCALBASE}/bin/nkf -e ${WRKSRC}/xloadface.1 > ${WRKSRC}/xloadface.man pre-install: ${MKDIR} $(XLOADFACEDIR) ${INSTALL_DATA} ${WRKSRC}/README $(XLOADFACEDIR) ${INSTALL_DATA} ${WRKSRC}/host_org.sample $(XLOADFACEDIR) ${MKDIR} $(XLOADFACEDIR)/bigfaces ${MKDIR} $(XLOADFACEDIR)/bitmap ${MKDIR} $(XLOADFACEDIR)/catfaces ${INSTALL_DATA} ${WRKSRC}/bigfaces/* $(XLOADFACEDIR)/bigfaces ${INSTALL_DATA} ${WRKSRC}/bitmap/* $(XLOADFACEDIR)/bitmap ${INSTALL_DATA} ${WRKSRC}/catfaces/* $(XLOADFACEDIR)/catfaces .include