# New ports collection makefile for: shellinabox # Date created: 25 june 2010 # Whom: Olivier Cochard-Labbe # # $FreeBSD$ # PORTNAME= shellinabox PORTVERSION= 2.10 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= GOOGLE_CODE MAINTAINER= olivier@cochard.me COMMENT= Publish command line shell through AJAX interface HAS_CONFIGURE= yes CONFIGURE_ARGS= \ --prefix=${PREFIX} \ --infodir=${PREFIX}/${INFO_PATH} \ --mandir=${MANPREFIX}/man LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USE_RC_SUBR= shellinaboxd USERS?= shellinabox GROUPS?= shellinabox MAN1= shellinaboxd.1 PORTDOCS= AUTHORS ChangeLog INSTALL README COPYING GPL-2 NEWS TODO PKGDEINSTALL= ${WRKDIR}/pkg-deinstall SUB_FILES= pkg-deinstall SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/shellinaboxd ${PREFIX}/bin/ .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif ${MKDIR} ${ETCDIR}/ ${CHMOD} 700 ${ETCDIR}/ ${CHOWN} ${USERS}:${GROUPS} ${ETCDIR}/ ${INSTALL_MAN} ${WRKSRC}/shellinaboxd.1 ${MANPREFIX}/man/man1/ .include