- Add LICENSE

- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-31 21:24:49 +00:00
parent 4681b2def1
commit cb004e044e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395728

View file

@ -10,6 +10,9 @@ MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Callback Framework for C++
LICENSE= LGPL21 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
GNU_CONFIGURE= yes
@ -22,11 +25,7 @@ PLIST_SUB= API_VERSION="2.0"
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--enable-documentation=no
.endif
DOCS_CONFIGURE_OFF= --enable-documentation=no
post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \