1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/devel/nasm/Makefile
2022-12-23 18:16:54 +00:00

44 lines
1.0 KiB
Makefile

PORTNAME= nasm
PORTVERSION= 2.15.05
PORTEPOCH= 2
CATEGORIES= devel lang
MASTER_SITES= https://www.nasm.us/pub/nasm/releasebuilds/${PORTVERSION}/ \
https://mirror.sobukus.de/files/src/nasm/
MAINTAINER= salvadore@FreeBSD.org
COMMENT= General-purpose multi-platform x86 and amd64 assembler
WWW= https://www.nasm.us/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 cpe gmake perl5 tar:xz
CPE_VENDOR= nasm
CPE_PRODUCT= netwide_assembler
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_func_strspn=yes
MAKE_ARGS+= INSTALLROOT=${STAGEDIR}
INSTALL_TARGET= install #needed for RDOFF_INSTALL_TARGET
PORTDOCS= *
OPTIONS_DEFINE= DOCS RDOFF
OPTIONS_SUB= yes
RDOFF_DESC= Install tools to handle RDOFF object files
DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME}-xdoc${EXTRACT_SUFX}
RDOFF_INSTALL_TARGET= install_rdf
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/doc/nasmdoc.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>