aboutsummaryrefslogtreecommitdiffstats
path: root/www/yourls/Makefile
blob: 4f5893f89ecba19fbe72bc9518334fd960f73d30 (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
# 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}

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>