pkgsrc-wip/cpphs/Makefile
Emil Sköldberg 27b40851bd Update to version 1.3.
Changes:
- Added a "--cpp" option for drop-in compatibility with standard cpp.
  It causes cpphs to accept standard cpp flags and translate them to
  cpphs equivalents. Compatibility options include: -o, -ansi, -traditional,
  -stdc, -x, -include, -P, -C, -CC, -A. The file behaviour is different
  too - if two filenames are given on the commandline, then the second is
  treated as the output location.
- Fixed a corner-case bug in evaluating chained and overlapping #ifdefs.
2006-10-13 12:57:55 +00:00

22 lines
540 B
Makefile

# $NetBSD: Makefile,v 1.5 2006/10/13 12:57:55 emil_s Exp $
#
DISTNAME= cpphs-1.3
CATEGORIES= devel
MASTER_SITES= http://www.cs.york.ac.uk/fp/cpphs/
MAINTAINER= emil@math.su.se
HOMEPAGE= http://www.cs.york.ac.uk/fp/cpphs/
COMMENT= Re-implementation of cpp in Haskell
do-build:
cd ${WRKSRC} && ghc -o cpphs --make cpphs
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cpphs ${PREFIX}/bin/cpphs
@${INSTALL_MAN} ${WRKSRC}/docs/cpphs.1 ${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/ghc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"