7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
30 lines
767 B
Makefile
30 lines
767 B
Makefile
# $NetBSD: Makefile,v 1.6 2014/05/29 23:36:30 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= sunifdef-3.1.3
|
|
PKGREVISION= 3
|
|
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"
|