2016-03-08 14:14:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2016/03/08 13:14:57 mef Exp $
|
2001-04-01 22:37:30 +02:00
|
|
|
#
|
|
|
|
|
2003-06-10 09:21:29 +02:00
|
|
|
DISTNAME= cronolog-1.6.2
|
2015-06-12 12:50:58 +02:00
|
|
|
PKGREVISION= 5
|
2001-04-01 22:37:30 +02:00
|
|
|
CATEGORIES= www
|
2006-10-04 23:59:34 +02:00
|
|
|
MASTER_SITES= http://cronolog.org/download/
|
2001-04-01 22:37:30 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-03-08 14:14:57 +01:00
|
|
|
HOMEPAGE= https://github.com/fordmason/cronolog/
|
2001-04-01 22:37:30 +02:00
|
|
|
COMMENT= Web log rotation utility that provides datestamp filenames
|
2016-03-08 14:14:57 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-04-01 22:37:30 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2006-06-25 10:59:22 +02:00
|
|
|
INFO_FILES= yes
|
2006-10-03 01:26:43 +02:00
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
|
2001-04-01 22:37:30 +02:00
|
|
|
|
2006-10-03 01:26:43 +02:00
|
|
|
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"
|
2001-04-01 22:37:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2010-02-16 19:16:26 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8
|
|
|
|
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8
|
2001-04-01 22:37:30 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|