blob: 16462a521618bf451d1207b1a5b59f24b08911ae (
plain)
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
|
# 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}
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
USE_GCC= 3.4+
.endif
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.post.mk>
|