summaryrefslogtreecommitdiffstats
path: root/textproc/yodl/Makefile
diff options
context:
space:
mode:
authordburr <dburr@FreeBSD.org>1998-07-20 23:55:36 +0000
committerdburr <dburr@FreeBSD.org>1998-07-20 23:55:36 +0000
commit4a9ecccac27931575e8030e5e9571a15c26e2a1b (patch)
treed0fe30119dc0f98a5fbef0307ea4ab2f6b2518d3 /textproc/yodl/Makefile
parent5dc5ab0abcb8d4859824a6565bef3a003301b002 (diff)
downloadFreeBSD-ports-4a9ecccac27931575e8030e5e9571a15c26e2a1b.zip
FreeBSD-ports-4a9ecccac27931575e8030e5e9571a15c26e2a1b.tar.gz
PR: ports/4974
Submitted by: me Import of new port textproc/yodl, an easy to use but powerful document formatting/preparation language.
Diffstat (limited to 'textproc/yodl/Makefile')
-rw-r--r--textproc/yodl/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
new file mode 100644
index 0000000..0cf8c6c
--- /dev/null
+++ b/textproc/yodl/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: yodl
+# Version required: 1.22
+# Date created: 22 Oct 1997
+# Whom: Donald Burr <dburr@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= yodl-1.22
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.icce.rug.nl/pub/unix/
+
+MAINTAINER= dburr@FreeBSD.ORG
+
+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:
+ (cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} progs)
+ (cd ${WRKSRC}/misc && gcc -O2 -m486 -s -o striproff striproff.c)
+
+# this weird contortion is because the YODL makefile is broken
+# trust me, it works.
+do-install:
+ @echo "*** NOTE: any errors from make can be safely ignored."
+ (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>
OpenPOWER on IntegriCloud