# ex:ts=8 # Ports collection makefile for: catdvi # Date created: Feb 10, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= catdvi PORTVERSION= 0.14 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A DVI to text/plain translator BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKEFILE= GNUmakefile ALL_TARGET= # empty MAN1= catdvi.1 CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib .if !exists(/usr/include/getopt.h) LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt LDFLAGS+= -lgnugetopt .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1 .include