Skip to content
Snippets Groups Projects
Commit 7510804b authored by sunpoet's avatar sunpoet
Browse files

- Add LICENSE

- Strip shared library
- Sort USES
- Use PORTDOCS
- Simplify Makefile
- Cosmetic change
- Take maintainership
parent 430f9210
Branches
Tags
No related merge requests found
......@@ -7,31 +7,30 @@ PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library of C++ classes for flexible logging
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libgflags.so:${PORTSDIR}/devel/gflags
GNU_CONFIGURE= yes
USES= execinfo pathfix libtool
USE_LDCONFIG= yes
PROJECTHOST= google-glog
OPTIONS_DEFINE= DOCS
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
USE_LDCONFIG= yes
USES= execinfo libtool pathfix
OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.pre.mk>
PROJECTHOST= google-glog
post-patch:
@${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \
${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
regression-test:
cd ${WRKSRC}; ${MAKE} check
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.post.mk>
.include <bsd.port.mk>
......@@ -8,12 +8,3 @@ lib/libglog.so
lib/libglog.so.0
lib/libglog.so.0.0.0
libdata/pkgconfig/libglog.pc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.windows
%%PORTDOCS%%%%DOCSDIR%%/designstyle.css
%%PORTDOCS%%%%DOCSDIR%%/glog.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment