summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /textproc
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include <bsd.port.mk> to before. (This is not by any means the complete list but just the ones I've noticed recently.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sgmlformat/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index 4278f83db8b6..ea5b4a10ec02 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -3,7 +3,7 @@
# Date created: July 16, 1997
# Whom: jfieber
#
-# $Id: Makefile,v 1.10 1998/09/15 21:18:06 jfieber Exp $
+# $Id: Makefile,v 1.11 1998/10/20 02:02:07 steve Exp $
#
DISTNAME= sgmlformat-1.7
@@ -15,7 +15,9 @@ MAINTAINER= jfieber@FreeBSD.ORG
# There are two ports that satisfy the nsgmls requirement.
# Jade is preferred, but it currently doesn't compile on 2.1.x
# system, so use sp in that case.
-OSVERSION!= sysctl -n kern.osreldate
+
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} < 220000
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp
.else
@@ -34,4 +36,4 @@ MANCOMPRESSED= yes
post-install:
@${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>