aboutsummaryrefslogtreecommitdiff
path: root/devel/bin86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bin86/Makefile')
-rw-r--r--devel/bin86/Makefile36
1 files changed, 10 insertions, 26 deletions
diff --git a/devel/bin86/Makefile b/devel/bin86/Makefile
index e941d0ff4ffb..6dc7758b0551 100644
--- a/devel/bin86/Makefile
+++ b/devel/bin86/Makefile
@@ -6,46 +6,30 @@
#
PORTNAME= bin86
-PORTVERSION= 0.16.16
+PORTVERSION= 0.16.17
CATEGORIES= devel
-MASTER_SITES= http://www.cix.co.uk/~mayday/dev86/
+MASTER_SITES= http://homepage.ntlworld.com/robert.debath/dev86/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= shaun@inerd.com
COMMENT= 16-bit assembler and loader (conflicts with devel/bcc)
BINS= as/as86 ld/ld86 ld/objchop ld/catimage ld/objdump86
-CONFLICTS= bcc-*
-DOCS= ChangeLog README README-0.4
-DOCDIR= share/doc/${PORTNAME}
+CONFLICTS= bcc-[0-9]*
+PORTDOCS= ChangeLog README README-0.4
MAN1= as86.1 ld86.1
-ONLY_FOR_ARCHS= i386
-PLIST= ${WRKDIR}/pkg-plist
-post-extract:
- ${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
+ONLY_FOR_ARCHS= i386
-pre-install:
- ${RM} -f ${PLIST}
-.for i in ${BINS}
- ${ECHO_CMD} bin/`${BASENAME} ${i}` >> ${PLIST}
-.endfor
-.if !defined(NOPORTDOCS)
-.for i in ${DOCS}
- ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
-.endfor
- ${ECHO_CMD} "@dirrm " ${DOCDIR} >> ${PLIST}
-.endif
+PLIST_FILES+= ${BINS:C/..\//bin\//g}
do-install:
- ${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/*1 ${MAN1PREFIX}/man/man1
.for i in ${BINS}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/${DOCDIR}
-.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>