123456789101112131415161718192021222324252627282930313233343536 |
- # $OpenBSD: Makefile,v 1.17 2017/03/29 13:17:38 giovanni Exp $
- COMMENT= periodic command scheduler
- V= 2.5.3
- DISTNAME= anacron.$V
- PKGNAME= anacron-$V
- CATEGORIES= sysutils
- REVISION= 1
- MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
- # GPLv2
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB= c
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=anacron2/}
- USE_GMAKE= Yes
- NO_TEST = Yes
- MAKE_FLAGS= ANACRONTAB="${SYSCONFDIR}/anacrontab"
- WRKDIST= ${WRKDIR}/anacron-$V
- post-extract:
- rm ${WRKSRC}/*.o
- cp ${FILESDIR}/obstack.h ${WRKSRC}
- cp ${FILESDIR}/obstack.c ${WRKSRC}
- pre-install:
- perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/anacron.8 \
- ${WRKSRC}/anacrontab.5
- .include <bsd.port.mk>
|