summaryrefslogtreecommitdiff
path: root/sysutils/alfio/Makefile
blob: 29e044dd84ffacce35ee1ef3dd6a49fe56144935 (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

PORTNAME=	alfio
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Services manager to choose which services start at boot time

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	lsalvadore

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	etc/rc.d/alfio \
		man/man8/alfio.8.gz

do-patch:
	${REINPLACE_CMD} s,%%LOCALBASE%%,${LOCALBASE},g ${WRKSRC}/alfio
	${REINPLACE_CMD} s,%%LOCALBASE%%,${LOCALBASE},g ${WRKSRC}/alfio.8

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/alfio ${STAGEDIR}${PREFIX}/etc/rc.d
	${INSTALL_MAN}	${WRKSRC}/alfio.8 ${STAGEDIR}${MAN8PREFIX}/man/man8

.include <bsd.port.mk>