openbsd-ports/textproc/lgrind/Makefile

58 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2008/11/30 18:50:25 steven 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}
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>
# 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
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} \
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
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
2002-10-28 17:43:46 -05:00
NO_REGRESS= Yes
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>