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

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

.include <bsd.port.mk>