freebsd-ports/devel/darts/Makefile
Carlos J. Puga Medina d199021f6f devel/darts: unbreak build
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.

- Add USES=autoreconf
- Add TIMESTAMP
- Pet portlint, use PLIST_FILES instead of pkg-plist
- Bump PORTREVISION

Reported by:	pkg-fallout
2018-06-03 19:41:28 +00:00

43 lines
945 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= darts
PORTVERSION= 0.32
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.chasen.org/~taku/software/darts/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ template library that implements Double-Array
LICENSE= BSD3CLAUSE LGPL21+
LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD
LICENSE_FILE_LGPL21+ = ${WRKSRC}/LGPL
USES= autoreconf
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
PORTEXAMPLES= darts.cpp mkdarts.cpp
PORTDOCS= AUTHORS ChangeLog README doc
PLIST_FILES= include/darts.h \
libexec/darts/darts \
libexec/darts/mkdarts
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}/
.endfor
.include <bsd.port.mk>