1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/woof/Makefile

36 lines
748 B
Makefile

# Created by: Dereckson <dereckson@gmail.com>
# $FreeBSD$
PORTNAME= woof
PORTVERSION= 2009.12.27
CATEGORIES= www
MASTER_SITES= http://www.home.unix-ag.org/simon/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g}
EXTRACT_SUFX= .py
EXTRACT_ONLY= # empty
MAINTAINER= dereckson@gmail.com
COMMENT= Web Offer One File, an ad-hoc single file webserver
LICENSE= GPLv2
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/woof
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 270
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-woof-2009-12-27-python27.diff
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} ${PREFIX}/bin/woof
.include <bsd.port.post.mk>