diff options
author | trevor <trevor@FreeBSD.org> | 2000-11-03 00:22:08 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-11-03 00:22:08 +0000 |
commit | ca7ca9a455cbfab583028d4004b0da805eabafad (patch) | |
tree | d6e9a49dbb4ed71675eef1718f520cfe27f9ed60 /devel/bin86/Makefile | |
parent | a246b938c50a9bc1931cad62ab9390976495abea (diff) | |
download | FreeBSD-ports-ca7ca9a455cbfab583028d4004b0da805eabafad.zip FreeBSD-ports-ca7ca9a455cbfab583028d4004b0da805eabafad.tar.gz |
Add new port of bin86 0.15.3, a 16-bit assembler and loader for
Intel-style assembly.
Diffstat (limited to 'devel/bin86/Makefile')
-rw-r--r-- | devel/bin86/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/devel/bin86/Makefile b/devel/bin86/Makefile new file mode 100644 index 0000000..e72825d --- /dev/null +++ b/devel/bin86/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: bin86 +# Date created: 2000-10-19 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= bin86 +PORTVERSION= 0.15.3 +CATEGORIES= devel +MASTER_SITES= http://www.cix.co.uk/~mayday/ + +MAINTAINER= trevor@FreeBSD.org + +DOCS= ChangeLog README README-0.4 +DOCDIR= share/doc/${PORTNAME} +.if !defined(NOPORTDOCS) +MAN1= as86.1 ld86.1 +.endif +ONLY_FOR_ARCHS= i386 +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-extract: + find ${WRKSRC} -type f -print0 | xargs -0 ${CHMOD} 644 + +pre-install: + ${RM} -f ${PLIST} + cd ${WRKSRC} && \ + find -s ${WRKSRC} -perm 755 -type f -exec ${BASENAME} \{\} \; \ + | ${SED} -e 's:^:bin/:' >> ${PLIST} +.if !defined(NOPORTDOCS) +.for i in ${DOCS} + ${ECHO} ${DOCDIR}/${i} >> ${PLIST} +.endfor + ${ECHO} "@dirrm " ${DOCDIR} >> ${PLIST} +.endif + +do-install: + ${INSTALL_PROGRAM} `find ${WRKSRC} -type f -perm 755 |grep -v encap` \ + ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/as/as86_encap ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} + ${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1 +.endfor +.endif + +.include <bsd.port.mk> |