openbsd-ports/sysutils/anacron/Makefile
ajacoutot c54e12bbe0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 07:45:52 +00:00

36 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/05/11 07:45:52 ajacoutot Exp $
COMMENT= periodic command scheduler
DISTNAME= anacron-2.3
REVISION = 2
CATEGORIES= sysutils
HOMEPAGE= http://sourceforge.net/projects/anacron/
MAINTAINER= Andreas Kahari <andreas.kahari@gmail.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=anacron/}
USE_GMAKE= Yes
USE_GROFF = Yes
MAKE_FLAGS= ANACRONTAB="${SYSCONFDIR}/anacrontab"
post-extract:
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>