diff options
author | trevor <trevor@FreeBSD.org> | 2002-04-14 11:13:14 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-04-14 11:13:14 +0800 |
commit | 5d3617b566d3bbf8e74cb025208909a5ae502b1a (patch) | |
tree | 71c9993eb7880a5a4fe12f99bd45032fe32ee776 /devel/bin86 | |
parent | 98c387694b95fbcf286adc616394cc10e6aa7966 (diff) | |
download | freebsd-ports-graphics-5d3617b566d3bbf8e74cb025208909a5ae502b1a.tar.gz freebsd-ports-graphics-5d3617b566d3bbf8e74cb025208909a5ae502b1a.tar.zst freebsd-ports-graphics-5d3617b566d3bbf8e74cb025208909a5ae502b1a.zip |
Permit installation with a strict umask such as 027.
PR: 32922
Submitted by: Gary W. Swearingen <swear@blarg.net>
Diffstat (limited to 'devel/bin86')
-rw-r--r-- | devel/bin86/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/bin86/Makefile b/devel/bin86/Makefile index 6db2ce86a3c..7981935ce53 100644 --- a/devel/bin86/Makefile +++ b/devel/bin86/Makefile @@ -12,6 +12,7 @@ MASTER_SITES= http://www.cix.co.uk/~mayday/ MAINTAINER= trevor@FreeBSD.org +BINS= as/as86 ld/ld86 ld/objchop ld/catimage ld/objdump86 DOCS= ChangeLog README README-0.4 DOCDIR= share/doc/${PORTNAME} MAN1= as86.1 ld86.1 @@ -23,9 +24,9 @@ post-extract: pre-install: ${RM} -f ${PLIST} - cd ${WRKSRC} && \ - ${FIND} -s ${WRKSRC} -perm 755 -type f -exec ${BASENAME} \{\} \; \ - | ${SED} -e 's:^:bin/:' >> ${PLIST} +.for i in ${BINS} + ${ECHO_CMD} bin/`${BASENAME} ${i}` >> ${PLIST} +.endfor .if !defined(NOPORTDOCS) .for i in ${DOCS} ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} @@ -35,8 +36,9 @@ pre-install: do-install: ${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1 - ${INSTALL_PROGRAM} `find ${WRKSRC} -type f -perm 755 |grep -v encap` \ - ${PREFIX}/bin +.for i in ${BINS} + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin +.endfor ${INSTALL_SCRIPT} ${WRKSRC}/as/as86_encap ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/${DOCDIR} |