mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
870da68c71
PR: ports/69481 Submitted by: Tim Bishop
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# 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://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>
|