[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / sunifdef

File: [cvs.NetBSD.org] / pkgsrc / devel / sunifdef / Makefile (download)

Revision 1.12, Mon Aug 31 18:09:21 2020 UTC (3 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.11: +2 -2 lines

*: bump PKGREVISION for perl-5.32.

# $NetBSD: Makefile,v 1.12 2020/08/31 18:09:21 wiz Exp $
#

DISTNAME=	sunifdef-3.1.3
PKGREVISION=	8
CATEGORIES=	devel
#MASTER_SITES=	http://www.strudl.org/public_ftp/sunifdef/nix/stable/

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://www.strudl.org/public_ftp/sunifdef/nix/stable/
COMMENT=	Tool for eliminating superfluous C preprocessor conditionals

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes

HTMLDIR=	${PREFIX}/share/doc/${PKGBASE}/html

.include "../../mk/bsd.prefs.mk"

.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) || make(test)
USE_TOOLS+=		perl
TEST_TARGET=		check
.endif

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
	${INSTALL_DATA} ${WRKSRC}/man/html/sunifdef_man_1.html \
		${DESTDIR}${HTMLDIR}/${PKGBASE}_man_1.html

.include "../../mk/bsd.pkg.mk"