d472a8835d
ucpp-1.3.2 * Fixed Issue 8, Included files missing a "terminating carriage return character" will interrupt preprocessing in sample.c/LEXER mode. (http://code.google.com/p/ucpp/issues/detail?id=8) ucpp-1.3.1 * Fixed Issue 5, "\r\n" carriage return characters are double counted. (http://code.google.com/p/ucpp/issues/detail?id=5) * Fixed Issue 6, Included files missing a "terminating carriage return character" will interrupt preprocessing in ucpp (STAND_ALONE mode). (http://code.google.com/p/ucpp/issues/detail?id=6) * Fixed Issue 7, STD_MACROS & STD_ASSERTS undefined when trying to build ucpp -DSTAND_ALONE. (http://code.google.com/p/ucpp/issues/detail?id=7) * Build ucpp & libucpp with 'make'.
30 lines
820 B
Makefile
30 lines
820 B
Makefile
# $NetBSD: Makefile,v 1.8 2015/09/30 16:39:45 richard Exp $
|
|
#
|
|
|
|
DISTNAME= ucpp-1.3.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://ucpp.googlecode.com/files/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://code.google.com/p/ucpp/
|
|
COMMENT= C preprocessor and lexer
|
|
LICENSE= modified-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CFLAGS+= -DSTD_MACROS=0 -DSTD_ASSERT=0 -DNO_UCPP_BUF
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= post-patch
|
|
SUBST_FILES.config= config.h
|
|
# remove /usr/local/include from default path
|
|
SUBST_SED.config= -e 's|"/usr/local/include", ||'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ucpp ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/ucpp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|