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
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
|
|
|
|
1995-06-13 20:59:35 +00:00
|
|
|
DISTNAME= xdvi-20
|
|
|
|
PKGNAME= xdvi-pl20
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1996-11-18 09:56:45 +00:00
|
|
|
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
|
|
|
|
|
1996-03-10 09:06:28 +00:00
|
|
|
DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi
|
1994-10-01 00:00:16 +00:00
|
|
|
USE_IMAKE= yes
|
1995-04-15 14:44:37 +00:00
|
|
|
USE_GMAKE= yes
|
1995-04-15 22:06:55 +00:00
|
|
|
XMKMF= xmkmf
|
1997-03-09 22:52:25 +00:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
SCRIPTS_ENV= PACKAGE_BUILDING=${PACKAGE_BUILDING}
|
|
|
|
.else
|
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
.endif
|
1995-04-15 22:06:55 +00:00
|
|
|
|
1998-10-20 01:48:38 +00:00
|
|
|
MAN1= xdvi.1
|
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
do-install:
|
1996-11-17 08:45:20 +00:00
|
|
|
@${MKDIR} ${PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${PREFIX}/bin
|
1994-10-01 00:00:16 +00:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} install.man \
|
1994-11-17 01:02:54 +00:00
|
|
|
MANDIR=${PREFIX}/man/man1 MANSUFFIX=1)
|
1994-10-01 00:00:16 +00:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} xdvi.man)
|
1994-11-17 01:02:54 +00:00
|
|
|
@(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${PREFIX}/bin)
|
1996-11-30 10:41:21 +00:00
|
|
|
@(cd ${WRKSRC}; ${INSTALL_SCRIPT} MakeTeXPK ${PREFIX}/bin)
|
1994-10-01 00:00:16 +00:00
|
|
|
|
1998-12-01 21:14:08 +00:00
|
|
|
post-install:
|
|
|
|
@if [ -f ${WRKDIR}/post-install ]; then sh ${WRKDIR}/post-install; fi
|
1996-09-16 00:56:30 +00:00
|
|
|
|
1994-10-01 00:00:16 +00:00
|
|
|
.include <bsd.port.mk>
|