2008-11-30 13:48:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2008/11/30 18:50:25 steven Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= LaTeX vgrind(1) look-alike
|
2000-12-04 17:47:50 -05:00
|
|
|
|
|
|
|
CATEGORIES= textproc devel print
|
2002-10-28 17:43:46 -05:00
|
|
|
|
2002-12-27 12:26:55 -05:00
|
|
|
VERSION= 3.67
|
2000-12-04 17:47:50 -05:00
|
|
|
DISTNAME= lgrind-${VERSION}
|
2008-11-30 13:48:09 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2000-12-04 17:47:50 -05:00
|
|
|
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.
|
2007-09-15 16:59:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= May not be sold
|
|
|
|
PERMIT_DISTFILES_CDROM= May not be sold
|
2002-12-27 12:26:55 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-06 19:23:20 -05:00
|
|
|
WANTLIB= c
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2002-12-27 12:26:55 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2002-12-27 12:26:55 -05:00
|
|
|
EXTRACT_CASES= *) cp ${FULLDISTDIR}/$$archive ${WRKDIST};;
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2002-12-27 12:26:55 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/lgrind/}
|
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2002-12-27 12:26:55 -05:00
|
|
|
MAKE_FLAGS= BASEDIR=${PREFIX} \
|
2004-04-11 15:12:24 -04:00
|
|
|
DEFSFILE=${TEXMF}/tex/latex/lgrind/lgrindef \
|
2002-12-27 12:26:55 -05:00
|
|
|
VERSION=${VERSION} \
|
|
|
|
CC='${CC}' CFLAGS='${CFLAGS}'
|
|
|
|
FAKE_FLAGS= BASEDIR=${WRKINST}${PREFIX}
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2008-11-30 13:48:09 -05:00
|
|
|
RUN_DEPENDS= ::print/texlive/base
|
2004-06-26 03:35:05 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2000-12-04 17:47:50 -05:00
|
|
|
|
2004-04-11 15:12:24 -04:00
|
|
|
TEXMF= ${PREFIX}/share/texmf-local
|
|
|
|
|
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
|
|
|
|
|
2002-10-28 17:43:46 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-12-04 17:47:50 -05:00
|
|
|
post-install:
|
2004-04-11 15:12:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${TEXMF}/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrindef ${TEXMF}/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrind.sty ${TEXMF}/tex/latex/lgrind
|
|
|
|
${INSTALL_DATA_DIR} ${TEXMF}/doc/latex/lgrind
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/lgrind.dvi ${TEXMF}/doc/latex/lgrind
|
2000-12-04 17:47:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|