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