diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-22 15:31:06 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-22 15:31:06 +0000 |
commit | af8ae50f9de4120194ffe7820152ca54f7b2fc7c (patch) | |
tree | 72b85651012e0691cecba6e3cf62f0d0f5b1bb20 /multimedia | |
parent | 9874e7d101402f7ce666eec0b86bebb53c08e681 (diff) | |
download | FreeBSD-ports-af8ae50f9de4120194ffe7820152ca54f7b2fc7c.zip FreeBSD-ports-af8ae50f9de4120194ffe7820152ca54f7b2fc7c.tar.gz |
- make portlint happy
- use ARCH insttead of MACHINE_ARCH
- reordered definitions
- use PLIST_FILES (save an inode)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xanim/Makefile | 46 | ||||
-rw-r--r-- | multimedia/xanim/pkg-plist | 16 |
2 files changed, 25 insertions, 37 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile index ee43e46..bfbd172 100644 --- a/multimedia/xanim/Makefile +++ b/multimedia/xanim/Makefile @@ -20,7 +20,18 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main ${EXTRA_FILES} MAINTAINER= dinoex@FreeBSD.org COMMENT= Play most popular animation formats and show pictures -.if (${MACHINE_ARCH} == "i386") +USE_IMAKE= yes +MAN1= xanim.1 +MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines +DLLDIR= ${PREFIX}/lib/X11/xanim +PLIST_FILES+= bin/xanim + +post-extract: + ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC} + +.include <bsd.port.pre.mk> + +.if (${ARCH} == "i386") EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \ vid_cyuv_1.0_freebsdELFx86.tgz \ vid_h261_1.0_freebsdELFx86.tgz \ @@ -28,30 +39,23 @@ EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \ vid_iv32_2.1_freebsdELFx86.tgz \ vid_iv41_1.1_freebsdELFx86.tgz \ vid_iv50_1.0_freebsdELFx86.tgz +PLIST_FILES+= lib/X11/xanim/cvid.readme lib/X11/xanim/cyuv.readme \ + lib/X11/xanim/h261.readme lib/X11/xanim/h263.readme \ + lib/X11/xanim/iv32.readme lib/X11/xanim/iv41.readme \ + lib/X11/xanim/iv50.readme \ + lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa \ + lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa \ + lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa \ + lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa \ + lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa \ + lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa \ + lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa +PLIST_DIRS+= lib/X11/xanim -DLLDIR= ${PREFIX}/lib/X11/xanim - -PLIST_SUB+= CODECS="" - -.else - -PLIST_SUB+= CODECS="@comment " - -.endif - -USE_IMAKE= yes -MAN1= xanim.1 - -MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines - -post-extract: - ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC} - -.if (${MACHINE_ARCH} == "i386") post-install: @${MKDIR} ${DLLDIR} ${INSTALL_DATA} ${WRKDIR}/*.readme ${DLLDIR} ${INSTALL_DATA} ${WRKDIR}/*.xa ${DLLDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/multimedia/xanim/pkg-plist b/multimedia/xanim/pkg-plist deleted file mode 100644 index 20542ee..0000000 --- a/multimedia/xanim/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -bin/xanim -%%CODECS%%lib/X11/xanim/cvid.readme -%%CODECS%%lib/X11/xanim/cyuv.readme -%%CODECS%%lib/X11/xanim/h261.readme -%%CODECS%%lib/X11/xanim/h263.readme -%%CODECS%%lib/X11/xanim/iv32.readme -%%CODECS%%lib/X11/xanim/iv41.readme -%%CODECS%%lib/X11/xanim/iv50.readme -%%CODECS%%lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa -%%CODECS%%lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa -%%CODECS%%@dirrm lib/X11/xanim |