diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
commit | dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch) | |
tree | deebef625a152490a0bbcb7e5602d05a59b1c010 /graphics/xanim | |
parent | c2e32ac36f406a78d4fb097baacb7fd65c4817d8 (diff) | |
download | ports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.tar.gz ports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.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.)
Notes
Notes:
svn path=/head/; revision=14465
Diffstat (limited to 'graphics/xanim')
-rw-r--r-- | graphics/xanim/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile index b1c1ba7eafc7..fa6bb830c873 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> |