mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
9bfffbdcba
ChangeLog: Upstream has once again changed the distfile without bumping the version number... Another minor patch release preventing a string overflow and fixing the opcode tables for vsqrtph, vcvtph2pd, vcvttph2udq, vcvtph2udq, vcvtps2phx, vcvtpd2ph, vcvtph2dq, vcvttph2uqq, vcvtph2uqq, vcvttph2qq, vcvtph2qq, vcvtuw2ph, vcvttph2dq, vcvtph2psx, vrsqrtph, vfcmaddcph, vfcmulcph, vfmaddcph, vfmulcph, vcvtdq2ph, vcvtqq2ph, vcvtudq2ph, and vcvtuqq2ph. PR: 264069
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
PORTNAME= objconv
|
|
DISTVERSION= 2.53_1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://fuz.su/~fuz/objconv/ \
|
|
https://www.agner.org/optimize/objconv.zip?dummy=/ \
|
|
https://archive.org/download/objconv/
|
|
|
|
MAINTAINER= fuz@fuz.su
|
|
COMMENT= Agner Fog's object file converter
|
|
|
|
LICENSE= GPLv1
|
|
|
|
NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
|
|
NOT_FOR_ARCHS_REASON= source/maindef.h:71:5: This machine has big-endian memory organization. Objconv program will not work
|
|
|
|
USES= dos2unix zip
|
|
|
|
# distfile hosted by maintainer and updated in tandem with port
|
|
# upstream distfile at https://agner.org/optimize not versioned
|
|
PORTSCOUT= ignore:1
|
|
NO_WRKSUBDIR= yes
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/source ${WRKSRC}/extras
|
|
@${TAR} xf ${WRKSRC}/source.zip -C ${WRKSRC}/source
|
|
@${TAR} xf ${WRKSRC}/extras.zip -C ${WRKSRC}/extras
|
|
|
|
do-build:
|
|
${CXX} ${CXXFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/source/*.cpp
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/extras ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/objconv-instructions.pdf ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/extras/*.asm ${STAGEDIR}${DATADIR}/extras
|
|
|
|
.include <bsd.port.mk>
|