summaryrefslogtreecommitdiff
path: root/graphics/mesagl/Makefile
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 /graphics/mesagl/Makefile
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 'graphics/mesagl/Makefile')
-rw-r--r--graphics/mesagl/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index 5781bf2fc0dc..67a6262036ae 100644
--- a/graphics/mesagl/Makefile
+++ b/graphics/mesagl/Makefile
@@ -3,7 +3,7 @@
# Date created: Tue Feb 7 12:02:49 1995
# Whom: hsu
#
-# $Id: Makefile,v 1.28 1998/09/26 23:33:10 steve Exp $
+# $Id: Makefile,v 1.29 1998/10/01 02:17:42 jseger Exp $
#
DISTNAME= MesaLib-3.0
@@ -20,6 +20,18 @@ WRKSRC= ${WRKDIR}/Mesa-3.0
USE_X_PREFIX= yes
LIBS= libMesaGL libMesaGLU
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+ALL_TARGET= freebsd-elf
+SHLIB_VERSION= 14
+GLUT_VERSION= 3
+.else
+ALL_TARGET= freebsd
+SHLIB_VERSION= 14.0
+GLUT_VERSION= 3.7
+.endif
+
do-install:
.for file in ${LIBS}
${INSTALL_DATA} ${WRKSRC}/lib/${file}.a ${PREFIX}/lib
@@ -38,14 +50,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/include/GL/* ${PREFIX}/include/GL
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-ALL_TARGET= freebsd-elf
-SHLIB_VERSION= 14
-GLUT_VERSION= 3
-.else
-ALL_TARGET= freebsd
-SHLIB_VERSION= 14.0
-GLUT_VERSION= 3.7
-.endif
+.include <bsd.port.post.mk>