1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/woof/Makefile
Martin Wilke 5c889462af - Add support for py 2.7
PR:		159951
Submitted by:	Nicole Reid <root@cooltrainer.org>
Approved by:	maintainer timeout
2012-01-14 19:20:46 +00:00

39 lines
861 B
Makefile

# New ports collection makefile for: woof
# Date created: 7 July 2009
# Whom: 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
.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>