pkgsrc/www/cronolog/Makefile
wiz d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00

27 lines
759 B
Makefile

# $NetBSD: Makefile,v 1.19 2013/05/31 12:42:31 wiz Exp $
#
DISTNAME= cronolog-1.6.2
PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://cronolog.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cronolog.org/
COMMENT= Web log rotation utility that provides datestamp filenames
GNU_CONFIGURE= YES
INFO_FILES= yes
USE_TOOLS+= perl:run
INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
SUBST_CLASSES+= cl
SUBST_STAGE.cl= pre-configure
SUBST_FILES.cl= doc/cronolog.1m
SUBST_SED.cl= -e "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g"
post-install:
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8
.include "../../mk/bsd.pkg.mk"