1995-04-15 00:34:11 -04:00
|
|
|
# New ports collection makefile for: xdvi
|
|
|
|
# Date created: 1 October 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
1995-04-15 00:34:11 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 13:50:59 -04:00
|
|
|
PORTNAME= xdvi
|
|
|
|
PORTVERSION= 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
|
2000-04-09 13:41:40 -04:00
|
|
|
DISTNAME= ${PORTNAME}-20
|
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
|
|
|
|
|
2000-04-09 13:50:59 -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
|
|
|
|
1998-12-01 16:14:08 -05:00
|
|
|
post-install:
|
|
|
|
@if [ -f ${WRKDIR}/post-install ]; then sh ${WRKDIR}/post-install; fi
|
1996-09-15 20:56:30 -04:00
|
|
|
|
1994-09-30 20:00:16 -04:00
|
|
|
.include <bsd.port.mk>
|