aboutsummaryrefslogtreecommitdiffstats
path: root/www/woof/Makefile
blob: 169bdec7f9f7677e9761b6e7f1c7eb0cf81748dd (plain) (blame)
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
# Created by: Dereckson <dereckson@gmail.com>
# $FreeBSD$

PORTNAME=   woof
PORTVERSION=    2012.05.31
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

USES=       python
NO_BUILD=   yes
PLIST_FILES=    bin/woof

do-extract:
    @${MKDIR} ${WRKSRC}
    @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTFILES}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} ${STAGEDIR}${PREFIX}/bin/woof

.include <bsd.port.mk>