- Remove workaround for nasm now that problem is fixed

- Add LICENSE (GPLv2) and retouch the comments
- Drop MD5 hash from distinfo
This commit is contained in:
Alexey Dokuchaev 2010-12-24 18:17:40 +00:00
parent 2679dd481e
commit 01547e29fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266848
2 changed files with 4 additions and 7 deletions

View file

@ -14,13 +14,15 @@ MASTER_SITES= http://asm.sourceforge.net/asmutils/
MAINTAINER= danfe@FreeBSD.org MAINTAINER= danfe@FreeBSD.org
COMMENT= A set of UNIX utilities written in x86 assembly language COMMENT= A set of UNIX utilities written in x86 assembly language
LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS= i386
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_GMAKE= yes USE_GMAKE= yes
# This will play merry hell with portlint # This will play merry hell with portlint(1)
BINS= bonus/asmutils basename cal cat chmod chown chroot cmp cp \ BINS= bonus/asmutils basename cal cat chmod chown chroot cmp cp \
cpuinfo cut date dc dd deflate dirname du echo env \ cpuinfo cut date dc dd deflate dirname du echo env \
bonus/execve extname factor fromdos ftpd getty grep head \ bonus/execve extname factor fromdos ftpd getty grep head \
@ -45,11 +47,8 @@ PORTDOCS= *
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG @${REINPLACE_CMD} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG
@${REINPLACE_CMD} -e 's,^static ,,' ${WRKSRC}/lib/libm.c @${REINPLACE_CMD} -e 's,^static ,,' ${WRKSRC}/lib/libm.c
# Workaround for broken macro local labels in nasm v2.07+
@${REINPLACE_CMD} -e 's,%{$$strucname},&%+,' ${WRKSRC}/inc/elf.inc \
${WRKSRC}/inc/system.inc
# Stripping binaries will break install # Stripping binaries will break installation
STRIP= # STRIP= #
do-install: do-install:
@ -79,7 +78,6 @@ do-install:
${LN} -sf fromdos todos && \ ${LN} -sf fromdos todos && \
${LN} -sf mount umount && \ ${LN} -sf mount umount && \
${LN} -sf sleep usleep) ${LN} -sf sleep usleep)
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/[^i]* ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/[^i]* ${DOCSDIR}

View file

@ -1,3 +1,2 @@
MD5 (asmutils-0.18.tar.gz) = a11c8fea347026449ecd2e5807e77d64
SHA256 (asmutils-0.18.tar.gz) = 905e58521c9c85ae64a243ff8a05503ddaed3d808a99aa6db8737d0bfb16d38a SHA256 (asmutils-0.18.tar.gz) = 905e58521c9c85ae64a243ff8a05503ddaed3d808a99aa6db8737d0bfb16d38a
SIZE (asmutils-0.18.tar.gz) = 361157 SIZE (asmutils-0.18.tar.gz) = 361157