openbsd-ports/textproc/lgrind/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.24 2014/11/30 05:41:34 brad Exp $
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}
REVISION = 4
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>
# Gripe to Van Jacobson for pissing off lgrind's current caretaker
# into not maintaining it anymore.
PERMIT_PACKAGE_CDROM= May not be sold
2002-12-27 12:26:55 -05:00
PERMIT_PACKAGE_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} \
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}
2010-10-19 03:54:21 -04:00
USE_GROFF = Yes
2000-12-04 17:47:50 -05:00
2010-11-22 04:38:08 -05:00
RUN_DEPENDS= print/texlive/base
BUILD_DEPENDS= ${RUN_DEPENDS}
2000-12-04 17:47:50 -05: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
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
2002-10-28 17:43:46 -05:00
2000-12-04 17:47:50 -05:00
post-install:
${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>