2002-06-09 01:31:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2002/06/09 05:37:15 wilfried Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
|
|
|
COMMENT= "LaTeX vgrind(1) look-alike"
|
2000-12-04 17:47:50 -05:00
|
|
|
|
|
|
|
CATEGORIES= textproc devel print
|
2002-03-21 16:25:50 -05:00
|
|
|
NEED_VERSION= 1.515
|
2002-03-18 10:59:57 -05:00
|
|
|
VERSION=3.67
|
2000-12-04 17:47:50 -05:00
|
|
|
DISTNAME= lgrind-${VERSION}
|
|
|
|
DISTFILES=source/lgrind.c source/lgutil.c source/lgrindef.c source/lgrindef.h \
|
|
|
|
source/regexp.c source/regexp.h source/v2lg.c \
|
|
|
|
source/retest.c source/lgrind.1 source/lgrindef.5 source/Makefile \
|
|
|
|
lgrindef lgrind.dtx lgrind.ins lgrind.gls
|
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2002-03-18 10:59:57 -05:00
|
|
|
# Gripe to Van Jacobson for pissing off lgrind's current caretaker
|
|
|
|
# into not maintaining it anymore.
|
|
|
|
PERMIT_PACKAGE_CDROM=May not be sold
|
|
|
|
PERMIT_DISTFILES_CDROM=May not be sold
|
2000-12-04 17:47:50 -05:00
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
|
|
|
|
WRKDIST=${WRKDIR}
|
|
|
|
|
|
|
|
EXTRACT_CASES= *) cp ${FULLDISTDIR}/$$archive ${WRKDIST};;
|
|
|
|
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES=${MASTER_SITE_TEX_CTAN:=support/lgrind/}
|
2000-12-04 17:47:50 -05:00
|
|
|
DIST_SUBDIR=${DISTNAME}
|
|
|
|
|
2002-03-18 10:59:57 -05:00
|
|
|
MAKE_FLAGS=BASEDIR=${PREFIX} DEFSFILE=${PREFIX}/share/texmf/tex/latex/lgrind/lgrindef VERSION=${VERSION} CFLAGS='${CFLAGS}'
|
2000-12-04 17:47:50 -05:00
|
|
|
FAKE_FLAGS=BASEDIR=${WRKINST}${PREFIX}
|
|
|
|
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS=:teTeX_base-*:print/teTeX/base
|
|
|
|
RUN_DEPENDS=${BUILD_DEPENDS}
|
2000-12-04 17:47:50 -05:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
cd ${WRKDIST} && latex lgrind.ins
|
|
|
|
cd ${WRKDIST} && latex lgrind.dtx
|
|
|
|
cd ${WRKDIST} && latex lgrind.dtx
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrindef ${PREFIX}/share/texmf/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrind.sty ${PREFIX}/share/texmf/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrind.dvi ${PREFIX}/share/texmf/doc/latex/lgrind
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|