aboutsummaryrefslogtreecommitdiffstats
path: root/www/yourls/Makefile
blob: a031369b83d67ccfc2e9eaa8b136ebb853450d45 (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
29
30
31
# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$

PORTNAME=   yourls
PORTVERSION=    1.7
CATEGORIES= www

MAINTAINER= ports@FreeBSD.org
COMMENT=    Your Own URL Shortener

LICENSE=    ISCL MIT
LICENSE_COMB=   multi

USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
GH_PROJECT= ${PORTNAME:tu}
GH_COMMIT=  68cdac8

NO_BUILD=   yes

USE_PHP=    bcmath curl json mysql pcre xml

SUB_LIST+=  PKGNAME=${PKGNAME}
SUB_FILES+= pkg-message
PLIST_SUB=  WWWOWN=${WWWOWN} \
        WWWGRP=${WWWGRP}

do-install:
    (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! -name \.*")

.include <bsd.port.mk>