aboutsummaryrefslogtreecommitdiffstats
path: root/www/abyssws/Makefile
blob: 8dd4b28d68b837c4c991c5c42c1c189d90a46f53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    abyssws
# Date created:             26 August 2007
# Whom:                 Daniel Voisine <voisined@wit.edu>
#
# $FreeBSD$
#

PORTNAME=   abyssws
PORTVERSION=    2.5
CATEGORIES= www
MASTER_SITES=   http://www.aprelium.com/data/
DISTNAME=   abwsx1-freebsd
EXTRACT_SUFX=   .tgz

MAINTAINER= voisined@wit.edu
COMMENT=    Abyss Web Server is a compact and easy to use web server

LIB_DEPENDS=    c.6:${PORTSDIR}/misc/compat6x

WRKSRC=     ${WRKDIR}/abyssws
ONLY_FOR_ARCHS= i386
NO_BUILD=   yes

USE_RC_SUBR=    abyssws.sh

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL

do-install:
    @${INSTALL} -d ${PREFIX}/lib/abyssws
    ${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/lib/abyssws -xf -
    @ ${CHOWN} -R abyssws:abyssws ${PREFIX}/lib/abyssws/
    @${ECHO_CMD} '@exec ${CHOWN} -R abyssws:abyssws \
        ${PREFIX}/lib/abyssws' >> ${TMPPLIST}

post-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL

.include <bsd.port.mk>