blob: eedd65f11efcde3b0be9e49c3475abfde927e9b2 (
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
38
39
|
# $NetBSD: Makefile,v 1.4 2009/08/18 19:01:26 hasso 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
PKG_DESTDIR_SUPPORT= user-destdir
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"
|