aboutsummaryrefslogtreecommitdiff
path: root/sysutils/s6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/s6/Makefile')
-rw-r--r--sysutils/s6/Makefile41
1 files changed, 22 insertions, 19 deletions
diff --git a/sysutils/s6/Makefile b/sysutils/s6/Makefile
index cbb930ba1a5e..22495e7197e2 100644
--- a/sysutils/s6/Makefile
+++ b/sysutils/s6/Makefile
@@ -2,17 +2,18 @@
# $FreeBSD$
PORTNAME= s6
-PORTVERSION= 2.2.4.3
+PORTVERSION= 2.4.0.0
CATEGORIES= sysutils
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
-MAINTAINER= colin@heliocat.net
+MAINTAINER= colin-ports@heliocat.net
COMMENT= skarnet.org supervision suite
LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= skalibs>=2.3.9.0:devel/skalibs \
- execline>=2.1.4.5:lang/execline
+LIB_DEPENDS= libskarnet.so:devel/skalibs
+BUILD_DEPENDS= execline>=2.2.0.0:lang/execline
RUN_DEPENDS= execlineb:lang/execline
USES= gmake
@@ -23,24 +24,22 @@ SUB_LIST= SERVICE_DIR="${SERVICE_DIR}"
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+=--prefix=${PREFIX} \
- --with-default-path=${LOCALBASE}/bin:/usr/bin:/bin \
- --with-include=${LOCALBASE}/include \
- --with-dynlib=${LOCALBASE}/lib \
- --with-lib=${LOCALBASE}/lib/skalibs \
- --with-lib=${LOCALBASE}/lib/execline \
- --enable-shared
-
-DOCS= AUTHORS COPYING INSTALL README doc/*.html
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --with-default-path=${LOCALBASE}/bin:/usr/bin:/bin \
+ --with-include=${LOCALBASE}/include \
+ --with-dynlib=${LOCALBASE}/lib \
+ --with-lib=${LOCALBASE}/lib/skalibs \
+ --with-lib=${LOCALBASE}/lib/execline \
+ --enable-shared
+
+DOCS= AUTHORS README doc/*.html
+
OPTIONS_DEFINE= DOCS
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs6.so.${PORTVERSION}
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/s6lockd-helper
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${STAGEDIR}${DOCSDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs6.so.${PORTVERSION}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/s6lockd-helper
cd ${WRKDIR} && ${INSTALL_SCRIPT} s6-svscanboot \
${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${ETCDIR}/s6-svscan/env
@@ -52,4 +51,8 @@ post-install:
cd ${WRKDIR} && ${INSTALL_SCRIPT} s6-svscan-log_run \
${STAGEDIR}${ETCDIR}/s6-svscan-log/run.sample
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>