freebsd-ports/www/dfileserver/Makefile
Rodrigo Osorio 512c79437f Fix C++ issues for 12.0
- Unixify the files using dos2unix
- Add patches to fix the C++ issues in the code
- Dump PORTREVISION
2018-07-03 09:55:25 +00:00

34 lines
714 B
Makefile

# Created by: Dash|RD
# $FreeBSD$
PORTNAME= DFileServer
PORTVERSION= 1.1.3
PORTREVISION= 1
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= BSD3CLAUSE
USES= dos2unix
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>