0e6f6f93bb
Fix sawfish comment while I'm at it. `window manager for the X windows system'. Like DUH ! It's going to be a window manager for my microwave oven ?
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2001/11/10 15:00:50 espie Exp $
|
|
|
|
COMMENT= "LaTeX vgrind(1) look-alike"
|
|
|
|
CATEGORIES= textproc devel print
|
|
NEED_VERSION= 1.489
|
|
VERSION=3.64
|
|
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>
|
|
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
WRKDIST=${WRKDIR}
|
|
|
|
EXTRACT_CASES= *) cp ${FULLDISTDIR}/$$archive ${WRKDIST};;
|
|
|
|
MASTER_SITES=${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR=support/lgrind
|
|
DIST_SUBDIR=${DISTNAME}
|
|
|
|
MAKE_FLAGS=BASEDIR=${PREFIX} DEFSFILE=${PREFIX}/share/texmf/tex/latex/lgrind/lgrindef VERSION=${VERSION}
|
|
FAKE_FLAGS=BASEDIR=${WRKINST}${PREFIX}
|
|
|
|
BUILD_DEPENDS=::print/teTeX/base
|
|
RUN_DEPENDS=::print/teTeX/base
|
|
|
|
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>
|