summaryrefslogtreecommitdiff
path: root/misc/bb
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-11 13:25:38 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-11 13:25:38 +0000
commit6b40729543fb189f696258667035c8a85657cfde (patch)
treefeb6b672fdd90367a61b25991c764478ce1fd836 /misc/bb
parentGrab maintainership of this port. (diff)
misc category cleanup part 1 of 6:
- Use DATADIR/DOCSDIR/PORTSDOC - SIZEify port (except biblereader) - make portlint happy * Howto: - use BZIP2_CMD and UNZIP_CMD - fix MASTER_SITES - update NIS-HOWTO - make portlint happy - bump PORTREVISION * bb - kill pkg-plist * boxes - kill pkg-plist PR: 61024 Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org> Updated/reworked by: me
Notes
Notes: svn path=/head/; revision=100665
Diffstat (limited to 'misc/bb')
-rw-r--r--misc/bb/Makefile5
-rw-r--r--misc/bb/pkg-plist7
2 files changed, 4 insertions, 8 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index b34cf0e3076f..dc537f394e06 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -22,6 +22,9 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/bb-1.3.0
MAN1= bb.1
+PORTDOCS= README
+PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
+PLIST_DIRS= share/bb
pre-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
@@ -29,7 +32,7 @@ pre-patch:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/misc/bb/pkg-plist b/misc/bb/pkg-plist
deleted file mode 100644
index fda7598757c0..000000000000
--- a/misc/bb/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/bb
-share/bb/bb.s3m
-share/bb/bb2.s3m
-share/bb/bb3.s3m
-%%PORTDOCS%%share/doc/bb/README
-@dirrm share/bb
-%%PORTDOCS%%@dirrm share/doc/bb