Makefile 686 B

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