1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/maint/Makefile

49 lines
1.4 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://www.ukc.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
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>