90e74f30d3
USE_BUILDLINK_ONLY.
30 lines
711 B
Makefile
30 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.4 2001/08/20 02:46:43 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= dvi2tty
|
|
PKGNAME= dvi2tty-1.0
|
|
CATEGORIES= converters
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
#MASTER_SITES= ftp://tug.ctan.org/pub/tex-archive/dviware/
|
|
|
|
MAINTAINER= fredb@netbsd.org
|
|
COMMENT= Program for previewing DVI files
|
|
|
|
LICENSE= no-commercial-use
|
|
USE_BUILDLINK_ONLY= # defined
|
|
MAKE_FLAGS+= CC="${CC}"
|
|
MAKE_FLAGS+= CFLAGS="${CFLAGS}"
|
|
|
|
pre-patch:
|
|
cd ${WRKSRC}; \
|
|
for p in dvi2tty.patch dvi2tty-latin1.patch; \
|
|
do \
|
|
${PATCH} < $$p; \
|
|
done
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} \
|
|
${WRKSRC}/disdvi ${WRKSRC}/dvi2tty ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|