summaryrefslogtreecommitdiffstats
path: root/graphics/xanim
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commit559e1bc28bd975c38b561de15be3918ba1f71b5e (patch)
treecda169bf1e41b7166c2d2febd3d858c1411d0e64 /graphics/xanim
parent7aed28166a84f266be861367fc9a1add43f9219a (diff)
downloadFreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip
FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz
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 'graphics/xanim')
-rw-r--r--graphics/xanim/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index b1c1ba7..fa6bb83 100644
--- a/graphics/xanim/Makefile
+++ b/graphics/xanim/Makefile
@@ -3,7 +3,7 @@
# Date created: Sat Nov 5 11:43:03 PST 1994
# Whom: piero
#
-# $Id: Makefile,v 1.14 1998/09/14 20:37:01 markm Exp $
+# $Id: Makefile,v 1.15 1998/09/27 09:18:30 markm Exp $
#
DISTNAME= xanim27070
@@ -18,22 +18,13 @@ MAINTAINER= ports@FreeBSD.ORG
EXTRACT_ONLY= ${DISTNAME}.tar.gz
USE_IMAKE= yes
MAN1= xanim.1
-MANCOMPRESSED= yes
-
-post-extract:
- @for file in ${EXTRA_FILES}; do \
- ${CP} ${DISTDIR}/$$file ${WRKSRC}; \
- uncompress ${WRKSRC}/$$file; \
- done
- ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
-
-MAKE_ENV+= XA_IV32_DEF=-DXA_INDEO \
+MAKE_ENV= XA_IV32_DEF=-DXA_INDEO \
XA_CVID_DEF=-DXA_CINEPAK \
XA_CYUV_DEF=-DXA_CYUV
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} != elf
+.if ${PORTOBJFORMAT} == "aout"
EXTRA_FILES= xa2.0_cvid_netbsd386.o.Z xa2.0_iv32_netbsd386.o.Z \
xa1.0_cyuv_netbsd386.o.Z
MAKE_ENV+= XA_IV32_LIB=xa2.0_cvid_netbsd386.o \
@@ -46,3 +37,12 @@ MAKE_ENV+= XA_IV32_LIB=xa2.0_cvid_linuxELF.o \
XA_CVID_LIB=xa2.0_iv32_linuxELF.o \
XA_CYUV_LIB=xa1.0_cyuv_linuxELF.o
.endif
+
+post-extract:
+ @for file in ${EXTRA_FILES}; do \
+ ${CP} ${DISTDIR}/$$file ${WRKSRC}; \
+ uncompress ${WRKSRC}/$$file; \
+ done
+ ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud