mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
877dce2447
Approved by: bapt@ (co-mentor)
31 lines
675 B
Makefile
31 lines
675 B
Makefile
# Created by: Dash|RD
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= DFileServer
|
|
PORTVERSION= 1.1.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/ \
|
|
http://harpy.soarwitheagles.net/~dashy/
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Compact webserver designed to make sharing files easy
|
|
|
|
LICENSE= BSD
|
|
|
|
PLIST_FILES= bin/dfileserver
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin/dfileserver
|
|
|
|
.include <bsd.port.mk>
|