diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
commit | fd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch) | |
tree | e9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/bb | |
parent | 48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff) | |
download | ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip |
Notes
Diffstat (limited to 'misc/bb')
-rw-r--r-- | misc/bb/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile index 82406aa3c7a4..8a5923899782 100644 --- a/misc/bb/Makefile +++ b/misc/bb/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: bb -# Date created: 22 June 1998 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ -# PORTNAME= bb PORTVERSION= 1.3.r1 @@ -25,12 +21,14 @@ PORTDOCS= README PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m PLIST_DIRS= share/bb +.include <bsd.port.options.mk> + pre-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" \ -e 's, REGISTERS \(3\),,g' post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif |