1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/lang/nqc/Makefile
Tobias Kortkamp ba2185b16c lang/nqc: Fix build with Clang 6
nqc/nqc.cpp:1088:41: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int', and no matching literal operator template
        fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n",

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/nqc-3.1.r6.log
2018-09-02 10:50:52 +00:00

34 lines
749 B
Makefile

# Created by: kbyanc
# $FreeBSD$
PORTNAME= nqc
PORTVERSION= 3.1.r6
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://bricxcc.sourceforge.net/nqc/release/ \
ftp://ftp2.za.freebsd.org/pub/nqc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Compiler for writing programs for the Lego RCX
LICENSE= MPL10
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake dos2unix tar:tgz
NO_WRKSUBDIR= yes
PLIST_FILES= bin/nqc man/man1/nqc.1.gz
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rcxlib-RCX_USBTowerPipe_fbsd.cpp
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/nqc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nqc-man-2.1r1-0.man \
${STAGEDIR}${MANPREFIX}/man/man1/nqc.1
.include <bsd.port.post.mk>