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

PORTNAME=	DFileServer
PORTVERSION=	1.1.2
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}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
USE_GCC=	3.4+
.endif

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

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

.include <bsd.port.post.mk>