1998-07-20 23:55:36 +00:00
|
|
|
# New ports collection makefile for: yodl
|
|
|
|
# Date created: 22 Oct 1997
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
1998-07-20 23:55:36 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-07-20 23:55:36 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= yodl
|
|
|
|
PORTVERSION= 1.22
|
1998-07-20 23:55:36 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.icce.rug.nl/pub/unix/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= dburr@FreeBSD.org
|
1998-07-20 23:55:36 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash1 \
|
|
|
|
latex:${PORTSDIR}/print/latex \
|
|
|
|
dvips:${PORTSDIR}/print/dvips
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash1 \
|
|
|
|
latex:${PORTSDIR}/print/latex \
|
|
|
|
dvips:${PORTSDIR}/print/dvips
|
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
|
|
|
|
MAN1= yodl.1 \
|
|
|
|
striproff.1 \
|
|
|
|
yodlconverters.1
|
|
|
|
MAN5= yodl.5
|
|
|
|
MAN7= yodlmacros.7 \
|
|
|
|
yodlmanpage.7
|
|
|
|
|
|
|
|
do-build:
|
1999-08-28 03:41:25 +00:00
|
|
|
(cd ${WRKSRC} && ${SETENV} CFLAGS="${CFLAGS}" ${GMAKE} PREFIX=${PREFIX} progs)
|
1999-01-10 10:05:03 +00:00
|
|
|
(cd ${WRKSRC}/misc && gcc ${CFLAGS} -s -o striproff striproff.c)
|
1998-07-20 23:55:36 +00:00
|
|
|
|
|
|
|
# this weird contortion is because the YODL makefile is broken
|
|
|
|
# trust me, it works.
|
|
|
|
do-install:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "*** NOTE: any errors from make can be safely ignored."
|
1998-07-20 23:55:36 +00:00
|
|
|
(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} install)
|
|
|
|
-(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} manpages)
|
|
|
|
(cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} manpages)
|
|
|
|
(cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man installman)
|
|
|
|
(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} installmanual)
|
|
|
|
(cd ${WRKSRC}/misc && ${INSTALL_PROGRAM} striproff ${PREFIX}/bin/striproff)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|