freebsd-ports/textproc/yodl/Makefile
Will Andrews 6191a0f6a8 Major overhaul to make this thing work again.
1) New MASTER_SITES.  I put a bunch of them (obtained from the
	   good ole' ftpsearch.ntnu.no) here for redundancy.
	2) Chase checksum.  I was unable to find the original distfile.
	3) Make port respect CC/CFLAGS.
	4) Remove GMAKE now that we respect CC/CFLAGS.
	5) Remove bash dependency now that we can use /bin/sh.
	6) Fix compile warning about malloc.h vs. stdlib.h.

PR:			17150
Submitted by:		Mikhail Teterin <mi@aldan.algebra.com>
Hall of Shame entry:	dburr (for complete disregard)
2000-06-09 01:36:55 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: yodl
# Date created: 22 Oct 1997
# Whom: Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= yodl
PORTVERSION= 1.22
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.sco.com/skunkware/src/textproc/ \
ftp://ftp.sunsite.org.uk/Mirrors/ftp.sco.com/skunkware/src/textproc/ \
ftp://ftp.vse.cz/pub/.sd10c/SCO/ftp.sco.com/skunkware/src/textproc/ \
ftp://ftp.netsw.org/netsw/Typesetting/ASCII/Generate/ \
ftp://ftp.win.ne.jp/pub/misc/ \
ftp://ftp.eos.hokudai.ac.jp/pub/misc/ \
ftp://ftp.sunet.se/pub3/vendor/sco/skunkware/src/textproc/
MAINTAINER= dburr@FreeBSD.org
BUILD_DEPENDS= latex:${PORTSDIR}/print/latex \
dvips:${PORTSDIR}/print/dvips
RUN_DEPENDS= latex:${PORTSDIR}/print/latex \
dvips:${PORTSDIR}/print/dvips
ALL_TARGET= progs manpages misc/striproff
INSTALL_TARGET= installman installmanual
MAN1= yodl.1 \
striproff.1 \
yodlconverters.1
MAN5= yodl.5
MAN7= yodlmacros.7 \
yodlmanpage.7
do-build:
(cd ${WRKSRC} && ${SETENV} CFLAGS="${CFLAGS}" ${GMAKE} PREFIX=${PREFIX} progs)
(cd ${WRKSRC}/misc && gcc ${CFLAGS} -s -o striproff striproff.c)
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/misc/striproff ${PREFIX}/bin
.include <bsd.port.mk>