aboutsummaryrefslogtreecommitdiffstats
path: root/www/dfileserver/Makefile
blob: 581a4c114f30f7895a68ff78e2410a5ec94293e1 (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
# New ports collection makefile for:    DFileServer
# Date created:             8 September 2005
# Whom:                 Dash|RD
#
# $FreeBSD$
#

PORTNAME=   DFileServer
PORTVERSION=    1.1.3
CATEGORIES= www
MASTER_SITES=   http://harpy.soarwitheagles.net/~dashy/

MAINTAINER= dashevil@gmail.com
COMMENT=    A compact webserver designed to make sharing files easy

PLIST_FILES=    bin/dfileserver

WRKSRC=     ${WRKDIR}/${PORTNAME}

MAKE_ENV=   CXX=${CXX}

post-patch:
    ${REINPLACE_CMD} 's,g++,${CXX},;s,$$GCCFLAGS,${CXXFLAGS},; \
        s,strip,${STRIP_CMD},' ${WRKSRC}/build.sh

do-build:
    @(cd ${WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ./build.sh)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/DFileServer.x86 ${PREFIX}/bin/dfileserver

.include <bsd.port.mk>