aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-10-21 08:28:50 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-10-21 10:10:50 +0000
commit232a91bc53512c4b8bef90d17816a65170d3d74b (patch)
treeea4ec1359279f8b8823fe004f421cde94df3406f
parentdaed278f2211e5bbeec45612d5cc5e98e16779b1 (diff)
downloadports-232a91bc53512c4b8bef90d17816a65170d3d74b.tar.gz
ports-232a91bc53512c4b8bef90d17816a65170d3d74b.zip
devel/cutils: Optionize INFO
- Add LICENSE BSD2CLAUSE - Pet portclippy
-rw-r--r--devel/cutils/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/cutils/Makefile b/devel/cutils/Makefile
index 49be403a3e65..2e9c248fc534 100644
--- a/devel/cutils/Makefile
+++ b/devel/cutils/Makefile
@@ -8,12 +8,23 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Miscellaneous C programmer's utilities
WWW= http://www.sigala.it/sandro/software.php #cutils
-USES= makeinfo
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
GNU_CONFIGURE= yes
-MAKE_ENV= MAKEINFO="${MAKEINFO}"
-INFO= cutils
+
MAKE_JOBS_UNSAFE= yes
CONFLICTS= cdecl
+OPTIONS_DEFINE= INFO
+OPTIONS_DEFAULT= INFO
+
+INFO_USES= makeinfo
+INFO_MAKE_ENV= MAKEINFO="${MAKEINFO}"
+INFO_INFO= cutils
+
+post-patch-INFO-off:
+ @${REINPLACE_CMD} -e '/^subdirs/s|doc||g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>