diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /multimedia | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | freebsd-ports-graphics-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz freebsd-ports-graphics-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.zst freebsd-ports-graphics-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 'multimedia')
-rw-r--r-- | multimedia/xanim/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile index b1c1ba7eafc..fa6bb830c87 100644 --- a/multimedia/xanim/Makefile +++ b/multimedia/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> |