aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/maint/Makefile
blob: 762c388e0efa0ea632cbcf6a1270963aedf3eda5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    maint
# Date created:             02-May-2001
# Whom:                 Dale Weber <netman@dynaplex.net>
#
# $FreeBSD$
#

PORTNAME=   maint
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= sysutils python
MASTER_SITES=   http://people.FreeBSD.org/~foxfair/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT=    System maintenance package written in Python and CSH

BUILD_DEPENDS=  cvsup:${PORTSDIR}/net/cvsup
RUN_DEPENDS=    cvsup:${PORTSDIR}/net/cvsup

USE_PYTHON= yes
NO_BUILD=   yes

BINDIR=     ${PREFIX}/bin
MYCONFDIR=  ${PREFIX}/etc/maint
MYSCRIPTDIR=    ${MYCONFDIR}/scripts
MYSUPFILESDIR=  ${MYCONFDIR}/supfiles
MYSHAREDIR= ${PREFIX}/share/maint
MYDATADIR=  ${MYSHAREDIR}/data
MYLOGSDIR=  ${MYSHAREDIR}/logs
MYDOCDIR=   ${MYSHAREDIR}/doc

do-install:
    ${MKDIR} ${MYCONFDIR}
    ${MKDIR} ${MYSCRIPTDIR}
    ${MKDIR} ${MYSUPFILESDIR}
    ${MKDIR} ${MYSHAREDIR}
    ${MKDIR} ${MYDOCDIR}
    ${MKDIR} ${MYDATADIR}
    ${MKDIR} ${MYLOGSDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/maint* ${BINDIR}
    ${INSTALL_DATA} ${WRKSRC}/share/maint/data/* ${MYDATADIR}
    ${INSTALL_DATA} ${WRKSRC}/etc/maint/*.sample ${MYCONFDIR}
    ${INSTALL_DATA} ${WRKSRC}/etc/maint/scripts/* ${MYSCRIPTDIR}
    ${INSTALL_DATA} ${WRKSRC}/etc/maint/supfiles/* ${MYSUPFILESDIR}
    ${INSTALL_DATA} ${WRKSRC}/share/maint/logs/* ${MYLOGSDIR}
    ${INSTALL_MAN} ${WRKSRC}/share/maint/doc/* ${MYDOCDIR}
    ${INSTALL_SCRIPT} ${BINDIR}/maint.py ${BINDIR}/maint

.include <bsd.port.mk>