aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/maint/Makefile
blob: 2fcb5828b379213cd009ada374d2242764b26b5d (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
# New ports collection makefile for:    maint
# Date created:             02-May-2001
# Whom:                 Dale Weber <netman@dynaplex.net>
#
# $FreeBSD$
#

PORTNAME=   maint
PORTVERSION=    0.5.2
CATEGORIES= sysutils python
MASTER_SITES=   http://www.dynaplex.net/opensource/software/

MAINTAINER= netman@dynaplex.net

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>