1995-04-15 00:34:11 -04:00
|
|
|
# New ports collection makefile for: xdvi
|
1995-06-13 16:59:35 -04:00
|
|
|
# Version required: patchlevel 20
|
1995-04-15 00:34:11 -04:00
|
|
|
# Date created: 1 October 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1998-10-19 21:48:38 -04:00
|
|
|
# $Id: Makefile,v 1.23 1997/03/09 22:51:56 jmz Exp $
|
1995-04-15 00:34:11 -04:00
|
|
|
#
|
|
|
|
|
1995-06-13 16:59:35 -04:00
|
|
|
DISTNAME= xdvi-20
|
|
|
|
PKGNAME= xdvi-pl20
|
1996-11-17 03:45:20 -05:00
|
|
|
CATEGORIES= print
|
1996-11-18 04:56:45 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
|
|
MASTER_SITE_SUBDIR= applications
|
1995-06-13 16:59:35 -04:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1995-04-15 00:34:11 -04:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1996-03-10 04:06:28 -05:00
|
|
|
DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi
|
1994-09-30 20:00:16 -04:00
|
|
|
USE_IMAKE= yes
|
1995-04-15 10:44:37 -04:00
|
|
|
USE_GMAKE= yes
|
1995-04-15 18:06:55 -04:00
|
|
|
XMKMF= xmkmf
|
1997-03-09 17:52:25 -05:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
SCRIPTS_ENV= PACKAGE_BUILDING=${PACKAGE_BUILDING}
|
|
|
|
.else
|
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
.endif
|
1995-04-15 18:06:55 -04:00
|
|
|
|
1998-10-19 21:48:38 -04:00
|
|
|
MAN1= xdvi.1
|
|
|
|
|
1995-04-20 20:21:41 -04:00
|
|
|
do-install:
|
1996-11-17 03:45:20 -05:00
|
|
|
@${MKDIR} ${PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${PREFIX}/bin
|
1994-09-30 20:00:16 -04:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} install.man \
|
1994-11-16 20:02:54 -05:00
|
|
|
MANDIR=${PREFIX}/man/man1 MANSUFFIX=1)
|
1994-09-30 20:00:16 -04:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} xdvi.man)
|
1994-11-16 20:02:54 -05:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${PREFIX}/bin)
|
1996-11-30 05:41:21 -05:00
|
|
|
@(cd ${WRKSRC}; ${INSTALL_SCRIPT} MakeTeXPK ${PREFIX}/bin)
|
1994-09-30 20:00:16 -04:00
|
|
|
|
1996-09-15 20:56:30 -04:00
|
|
|
pre-clean:
|
|
|
|
@rm -f ${SCRIPTDIR}/post-install
|
|
|
|
|
1994-09-30 20:00:16 -04:00
|
|
|
.include <bsd.port.mk>
|