30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
26 lines
756 B
Makefile
26 lines
756 B
Makefile
# $NetBSD: Makefile,v 1.30 2017/01/19 18:52:05 agc Exp $
|
|
#
|
|
|
|
DISTNAME= cdecl-2.5
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.netsw.org/softeng/lang/c/tools/cdecl/
|
|
MASTER_SITES+= ftp://ftp-linux.cc.gatech.edu/pub/linux/devel/lang/c/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Utility to explain and compose C and C++ declarations
|
|
|
|
BUILD_TARGET= cdecl
|
|
USE_TOOLS+= lex yacc
|
|
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX} \
|
|
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
EGDIR= ${PREFIX}/share/examples/cdecl
|
|
INSTALLATION_DIRS= bin ${EGDIR} ${PKGMANDIR}/man1
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/testset* ${DESTDIR}${EGDIR}
|
|
|
|
# missing rl_completion_matches
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|