mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
d09ed096c4
USE_GCC=any has been equivalent to USE_GCC=yes in most cases (such
as i386 and amd64 since 12.x and depending on configuration 11.x,
most newer installations on other platforms, and 13.x across the
board).
Since commit 96c17633d9
Mk/bsd.gcc.mk is treating them as
different spellings of the same, so continue the deorbiting of the
USE_GCC=any form and simply replace it with USE_GCC=yes.
This should not make any functional difference at all.
Discussed with: mat, linimon, pkubaj
63 lines
2.0 KiB
Makefile
63 lines
2.0 KiB
Makefile
# Created by: piero
|
|
|
|
PORTNAME= xanim
|
|
PORTVERSION= 2.92.0
|
|
PORTREVISION= 9
|
|
CATEGORIES= multimedia graphics
|
|
MASTER_SITES= ftp://ftp.nstu.ru/pub/mirrors/xanim.va.pubnix.com/:main \
|
|
LOCAL/dinoex:main,DEFAULT \
|
|
ftp://ftp.nstu.ru/pub/mirrors/xanim.va.pubnix.com/dlls/
|
|
DISTNAME= xanim2920
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main ${EXTRA_FILES}
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Play most popular animation formats and show pictures
|
|
|
|
# Converted from NO_CDROM
|
|
LICENSE= xanim
|
|
LICENSE_NAME= xanim
|
|
LICENSE_TEXT= Must be redistributed without fee
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
# clang's cpp destroys whitespace, particularly hard tabs in makefiles,
|
|
# which is fatal for imake.
|
|
USES= alias imake xorg
|
|
USE_GCC= yes
|
|
USE_XORG= xext xt sm ice xext x11
|
|
MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines
|
|
DLLDIR= ${PREFIX}/lib/X11/xanim
|
|
PLIST_FILES+= bin/xanim man/man1/xanim.1.gz
|
|
|
|
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 \
|
|
vid_h263_1.0_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
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DLLDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/*.readme ${STAGEDIR}${DLLDIR}/
|
|
${INSTALL_DATA} ${WRKDIR}/*.xa ${STAGEDIR}${DLLDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|