1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/s6-rc/Makefile
Tobias C. Berner c4913cf8d6 sysutils/s6-rc: Update to 0.5.1.2
PR:		245699
Submitted by:	crest@rlwinm.de (maintainer)
2020-04-27 14:43:28 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Andris Raugulis <moo@arthepsy.eu>
# $FreeBSD$
PORTNAME= s6-rc
PORTVERSION= 0.5.1.2
CATEGORIES= sysutils
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
MAINTAINER= crest@rlwinm.de
COMMENT= Skarnet.org service manager
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= execline>=2.5.1.0:lang/execline \
skalibs>=2.8.0.0:devel/skalibs \
s6>=2.8.0.0:sysutils/s6
RUN_DEPENDS= execline>=2.5.1.0:lang/execline \
skalibs>=2.8.0.0:devel/skalibs \
s6>=2.8.0.0:sysutils/s6
LIB_DEPENDS= libs6.so:sysutils/s6 \
libskarnet.so:devel/skalibs
USES= gmake
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${PREFIX} \
--with-include=${LOCALBASE}/include \
--with-lib=${LOCALBASE}/lib/skalibs \
--with-lib=${LOCALBASE}/lib/execline \
--with-lib=${LOCALBASE}/lib/s6 \
--with-dynlib=${LOCALBASE}/lib \
--enable-shared
DOCS= AUTHORS COPYING INSTALL README doc/*.html
OPTIONS_DEFINE= DOCS
post-install:
.for d in bin libexec
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${d}/*
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs6rc.so.${PORTVERSION}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>