aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xanim
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-22 15:31:06 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-22 15:31:06 +0000
commitf9cf4b5761ca8281e0ae105d79ed6c6e4ce9e8d5 (patch)
tree29910e8ff4d42c0d8cdf6ec5893a18cdace06768 /multimedia/xanim
parentf8e5f5ce76ebc80f58db8e79efe933c96d209659 (diff)
downloadports-f9cf4b5761ca8281e0ae105d79ed6c6e4ce9e8d5.tar.gz
ports-f9cf4b5761ca8281e0ae105d79ed6c6e4ce9e8d5.zip
Notes
Diffstat (limited to 'multimedia/xanim')
-rw-r--r--multimedia/xanim/Makefile46
-rw-r--r--multimedia/xanim/pkg-plist16
2 files changed, 25 insertions, 37 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile
index ee43e46333f3..bfbd17263497 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 20542ee19e24..000000000000
--- 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