1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/print/xdvi/Makefile
1996-09-16 00:56:30 +00:00

38 lines
961 B
Makefile

# New ports collection makefile for: xdvi
# Version required: patchlevel 20
# Date created: 1 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.18 1996/03/10 09:06:28 asami Exp $
#
DISTNAME= xdvi-20
PKGNAME= xdvi-pl20
CATEGORIES+= print
MASTER_SITES= ftp://ftp.x.org/contrib/applications/ \
ftp://crl.dec.com/pub/X11/contrib/applications/
EXTRACT_SUFX= .tar.Z
MAINTAINER= jmz@FreeBSD.org
DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi
USE_IMAKE= yes
USE_GMAKE= yes
IS_INTERACTIVE= yes
XMKMF= xmkmf
do-install:
@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)
pre-clean:
@rm -f ${SCRIPTDIR}/post-install
.include <bsd.port.mk>