freebsd-ports/sysutils/s6-rc/Makefile
Tobias C. Berner 84f8092bf9 sysutils/s6-rc: Update to 0.5.0.0
PR:		236939
Submitted by:	crest@rlwinm.de
Approved by:	moo@arthepsy.eu (maintainer, timeout)
2019-04-14 16:27:42 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Andris Raugulis <moo@arthepsy.eu>
# $FreeBSD$
PORTNAME= s6-rc
PORTVERSION= 0.5.0.0
CATEGORIES= sysutils
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
MAINTAINER= moo@arthepsy.eu
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>