mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
862f5d1238
- Allow to override default location of s6-rc's root (--livedir) PR: 237760
40 lines
1006 B
Makefile
40 lines
1006 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
PORTNAME= execline
|
|
PORTVERSION= 2.8.0.1
|
|
CATEGORIES= lang shells
|
|
MASTER_SITES= https://www.skarnet.org/software/${PORTNAME}/
|
|
|
|
MAINTAINER= crest@rlwinm.de
|
|
COMMENT= Lightweight non-interactive sh(1)-like scripting language
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= skalibs>=2.10.0.0:devel/skalibs
|
|
LIB_DEPENDS= libskarnet.so:devel/skalibs
|
|
|
|
USES= gmake
|
|
USE_LDCONFIG= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--with-sysdeps=${LOCALBASE}/lib/skalibs/sysdeps \
|
|
--with-lib=${LOCALBASE}/lib/skalibs \
|
|
--with-dynlib=${LOCALBASE}/lib \
|
|
--with-include=${LOCALBASE}/include \
|
|
--enable-shared
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS= AUTHORS README doc/*.html
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexecline.so.${PORTVERSION}
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|