1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/print/xdvi/Makefile

41 lines
1012 B
Makefile
Raw Normal View History

1995-04-15 04:34:11 +00:00
# New ports collection makefile for: xdvi
1995-06-13 20:59:35 +00:00
# Version required: patchlevel 20
1995-04-15 04:34:11 +00:00
# Date created: 1 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.22 1996/11/30 10:41:21 asami Exp $
1995-04-15 04:34:11 +00:00
#
1995-06-13 20:59:35 +00:00
DISTNAME= xdvi-20
PKGNAME= xdvi-pl20
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
1995-06-13 20:59:35 +00:00
EXTRACT_SUFX= .tar.Z
1995-04-15 04:34:11 +00:00
MAINTAINER= jmz@FreeBSD.org
DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi
USE_IMAKE= yes
USE_GMAKE= yes
XMKMF= xmkmf
.if defined(PACKAGE_BUILDING)
SCRIPTS_ENV= PACKAGE_BUILDING=${PACKAGE_BUILDING}
.else
IS_INTERACTIVE= yes
.endif
do-install:
@${MKDIR} ${PREFIX}/man/man1
@${MKDIR} ${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_SCRIPT} MakeTeXPK ${PREFIX}/bin)
pre-clean:
@rm -f ${SCRIPTDIR}/post-install
.include <bsd.port.mk>