aboutsummaryrefslogtreecommitdiff
path: root/print/xdvi/Makefile
blob: 1ada50b4a504acca80f8a5b709b0406f08e50fbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DISTFILES=	xdvi.tar.Z
DISTNAME=	xdvi
MASTER_SITES=	ftp://ftp.x.org/contrib/applications/
USE_IMAKE=	yes
USE_GMAKE=	yes

DEST=/usr/local

#gnu make required for 'make Makefiles'
MAKE=		${GMAKE}

install:
	@echo "===>  Installing for ${DISTNAME}"
	@mkdir -p /usr/local/man/man1
	@mkdir -p /usr/local/bin
	@(cd ${WRKSRC}; ${GMAKE} install.man \
		MANDIR=${DEST}/man/man1 MANSUFFIX=1)
	@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} xdvi.man)
	@(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${DEST}/bin)
	@(cd ${WRKSRC}; install -c -m 755 -o bin MakeTeXPK ${DEST}/bin)

.include <bsd.port.mk>