head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.03.13;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.09.13.16.07.28;	author bdrewery;	state Exp;
branches;
next	1.4;

1.4
date	2011.05.16.07.18.39;	author culot;	state Exp;
branches;
next	1.3;

1.3
date	2010.05.09.07.54.11;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2010.03.17.07.42.14;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.31.00.43.31;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for: yourls
# Date created:		2010-01-28
# Whom:			Joe Horn <joehorn@@gmail.com>
#
# $FreeBSD: head/www/yourls/Makefile 304223 2012-09-13 16:07:28Z bdrewery $
#

PORTNAME=		yourls
DISTVERSION=		1.5.1
CATEGORIES=		www
MASTER_SITES=		${MASTER_SITE_GOOGLE_CODE}

MAINTAINER=		joehorn@@gmail.com
COMMENT=		Your Own URL Shortener

LICENSE=		GPLv3

WRKSRC=			${WRKDIR}/${PORTNAME}
EXTRACT_AFTER_ARGS=	-d ${WRKSRC}

USE_ZIP=		YES
NO_BUILD=		YES

USE_PHP=		bcmath curl json mysql pcre xml

SUB_LIST+=		PKGNAME=${PKGNAME}
SUB_FILES+=		pkg-message

.include <bsd.port.pre.mk>

do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
		${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
	@@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type f -print0 | \
		${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
	@@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type d -print0 | \
		${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.5
log
@SVN rev 304223 on 2012-09-13 16:07:28Z by bdrewery

- Update to 1.5.1
- Add BCMath as a required PHP extension

PR:		ports/171596
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@- Update to 1.5
- LICENSE added

PR:		ports/157081
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=		1.5
d16 2
a20 2
LICENSE=		GPLv3

d24 1
a24 1
USE_PHP=		curl json mysql pcre xml
@


1.3
log
@- Update to 1.4.3

PR:		146405
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=		1.4.3
d19 2
@


1.2
log
@- Update to 1.4.2

PR:		144702
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=		1.4.2
@


1.1
log
@YOURLS is a small set of PHP scripts that will allow you
to run your own URL shortening service (a la TinyURL).

You can make it private or public, you can pick custom
keyword URLs, it comes with its own API.

WWW: http://yourls.org/

PR:		ports/143316
Submitted by:	Joe Horn <joehorn at gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=		1.4
@

