2004-03-17 08:30:01 +01:00
|
|
|
# New ports collection makefile for: uschedule
|
|
|
|
# Date created: 2004-02-19
|
|
|
|
# Whom: Thomas Seck <tmseck@netcologne.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= uschedule
|
2004-08-21 13:56:56 +02:00
|
|
|
PORTVERSION= 0.7.1
|
2009-11-28 15:58:58 +01:00
|
|
|
PORTREVISION= 1
|
2004-03-17 08:30:01 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.ohse.de/uwe/uschedule/
|
|
|
|
|
2013-03-09 19:09:24 +01:00
|
|
|
MAINTAINER= tmseck@FreeBSD.org
|
2004-03-17 08:30:01 +01:00
|
|
|
COMMENT= A scheduler program, designed to replace cron(8) and at(1)
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/tai64nlocal:${PORTSDIR}/sysutils/daemontools
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/multilog:${PORTSDIR}/sysutils/daemontools
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
|
|
|
|
|
|
|
|
MAN1= uschedule.1 uschedulecmd.1 uscheduleconf.1 uschedulecp.1 \
|
2004-08-21 13:56:56 +02:00
|
|
|
uscheduleedit.1 uschedulelist.1 uschedulerm.1 \
|
|
|
|
uscheduleruntimelimit.1
|
2004-03-17 08:30:01 +01:00
|
|
|
MAN7= uschedule_intro.7
|
|
|
|
MAN8= uscheduled.8
|
|
|
|
PORTDOCS= ChangeLog NEWS SECURITY-BUG
|
|
|
|
bin= uschedule uschedulecmd uscheduleconf uschedulecp \
|
2004-08-21 13:56:56 +02:00
|
|
|
uscheduleedit uschedulelist uschedulerm uscheduleruntimelimit
|
2004-03-17 08:30:01 +01:00
|
|
|
sbin= uscheduled
|
2004-03-17 20:58:59 +01:00
|
|
|
PLIST_FILES= ${bin:S,^,bin/,}
|
|
|
|
PLIST_FILES+= ${sbin:S,^,sbin/,}
|
2004-03-17 08:30:01 +01:00
|
|
|
|
2006-06-24 20:15:11 +02:00
|
|
|
pre-build:
|
|
|
|
${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc
|
|
|
|
${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags
|
|
|
|
|
|
|
|
regression-test: build
|
|
|
|
cd ${WRKSRC} && ${MAKE} check
|
2004-03-17 08:30:01 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.for section in 1 7 8
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN${section}} \
|
|
|
|
${MAN${section}PREFIX}/man/man${section}
|
|
|
|
.endfor
|
|
|
|
.for d in bin sbin
|
2004-08-21 13:56:56 +02:00
|
|
|
cd ${WRKSRC}/command && ${INSTALL_PROGRAM} ${${d}} ${PREFIX}/${d}
|
2004-03-17 08:30:01 +01:00
|
|
|
.endfor
|
|
|
|
@${CAT} pkg-message
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|