summaryrefslogtreecommitdiffstats
path: root/sysutils/bsdadminscripts/Makefile
blob: 872aa28e29f47cc851c51917a109edf93677fcae (plain)
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
49
# New ports collection makefile for:	bsdadminscripts
# Date created:		15 May 2006
# Whom:			Dominic Fandrey <lon_kamikaze@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	bsdadminscripts
PORTVERSION=	6.1.1
CATEGORIES=	sysutils ports-mgmt
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}

MAINTAINER=	kamikaze@bsdforen.de
COMMENT=	A collection of administration scripts

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
NO_BUILD=	yes
MANCOMPRESSED=	yes

.if defined(NOPORTDOCS)
NOPORTDOCS=	-nodoc
.else
MAN1=		bsdadminscripts.1 \
		buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 \
		distviper.1 \
		pkg_libchk.1 \
		pkg_upgrade.1 \
		pkg_validate.1 \
		portconfig.1 \
		rcstart.1 \
		uma.1

RC_SCRIPTS=	stop restart status onestart onestop onerestart onestatus
PORT_SCRIPTS=	build clean fetch package \
		config-recursive fetch-recursive
MLINKS+=	${RC_SCRIPTS:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,} \
		${PORT_SCRIPTS:S,^,port,:S,$,.1,:S,^,portconfig.1 ,}
.endif

plist: patch
	@cd ${WRKSRC}; ./plist.sh -nodoc > ${PLIST}
	@${ECHO} "@dirrm ${DATADIR_REL}" >> ${PLIST}

do-install:
	@cd ${WRKSRC}; ./install.sh \
		-prefix=${PREFIX} -ports=${PORTSDIR} -distdir=${DISTDIR}  \
		-datadir=${DATADIR} ${NOPORTDOCS}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud