aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 13:37:39 +0800
committerasami <asami@FreeBSD.org>1998-11-11 13:37:39 +0800
commit559e1bc28bd975c38b561de15be3918ba1f71b5e (patch)
treecda169bf1e41b7166c2d2febd3d858c1411d0e64 /textproc
parent7aed28166a84f266be861367fc9a1add43f9219a (diff)
downloadfreebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz
freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.zst
freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip
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.)
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>