blob: 519ba31f80714d8f5de618b91b70b2c7b27e5dad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.5 2012/10/02 20:11:37 asau Exp $
#
DISTNAME= cparser-0.9.9
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cparser/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cparser.sourceforge.net/
COMMENT= Recursive descent C99 parser
NO_CONFIGURE= yes
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
COPTS?= -O2
#DBG?= -g3 # XXX debugging option (install without strip)
MAKE_ENV+= LIBTOOL_CFLAGS=-prefer-pic
MAKE_ENV+= COPTS=${COPTS:Q}
BUILDLINK_TRANSFORM+= rm:-Werror
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${LIBTOOL} --mode=install \
${INSTALL_PROGRAM} ${WRKSRC}/build/cparser \
${DESTDIR}${PREFIX}/bin/cparser
${INSTALL_MAN} ${WRKSRC}/cparser.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/libfirm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|