summaryrefslogtreecommitdiff
path: root/x11-toolkits/xforms
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 /x11-toolkits/xforms
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 'x11-toolkits/xforms')
-rw-r--r--x11-toolkits/xforms/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile
index e91e42194bba..fff059208a4f 100644
--- a/x11-toolkits/xforms/Makefile
+++ b/x11-toolkits/xforms/Makefile
@@ -3,11 +3,13 @@
# Date created: 28 March 1997
# Whom: gena
#
-# $Id: Makefile,v 1.19 1998/09/26 23:14:12 steve Exp $
+# $Id: Makefile,v 1.20 1998/11/02 04:35:07 jseger Exp $
#
-ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
-.if ${ARE_WE_ELF} == "elf"
+USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
DISTNAME= bxform-freebsd-elf
MASTER_SITES= http://bragg.phys.uwm.edu/~zhao/ftp/
PATCHDIR= ${.CURDIR}/patches.elf
@@ -24,7 +26,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= gena@NetVision.net.il
PATCH_STRIP= -p0 -t
-USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/xforms
MAN1= fdesign.1 fd2ps.1
MAN5= xforms.5
@@ -36,4 +37,4 @@ post-install:
@ln -fs xforms.5.gz ${PREFIX}/man/man5/forms.5.gz
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>