head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.19
	RELEASE_4_EOL:1.19
	RELEASE_6_2_0:1.9;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.02.33;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2009.09.02.15.01.54;	author amdmi3;	state Exp;
branches;
next	1.19;

1.19
date	2006.12.19.21.19.05;	author sat;	state Exp;
branches;
next	1.18;

1.18
date	2006.12.11.10.51.04;	author sat;	state Exp;
branches;
next	1.17;

1.17
date	2006.12.10.18.18.15;	author sat;	state Exp;
branches;
next	1.16;

1.16
date	2006.12.10.01.21.50;	author nivit;	state Exp;
branches;
next	1.15;

1.15
date	2006.11.15.20.57.26;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2006.11.07.13.28.22;	author sat;	state Exp;
branches;
next	1.13;

1.13
date	2006.11.05.09.53.02;	author sat;	state Exp;
branches;
next	1.12;

1.12
date	2006.11.04.10.02.44;	author sat;	state Exp;
branches;
next	1.11;

1.11
date	2006.11.03.20.21.26;	author sat;	state Exp;
branches;
next	1.10;

1.10
date	2006.11.01.13.07.45;	author sat;	state Exp;
branches;
next	1.9;

1.9
date	2006.10.09.10.24.53;	author sat;	state Exp;
branches;
next	1.8;

1.8
date	2006.10.04.16.51.40;	author sat;	state Exp;
branches;
next	1.7;

1.7
date	2006.10.02.19.10.21;	author sat;	state Exp;
branches;
next	1.6;

1.6
date	2006.09.29.11.02.07;	author sat;	state Exp;
branches;
next	1.5;

1.5
date	2006.09.25.19.24.10;	author sat;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.08.05.01.57;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2006.06.14.15.32.32;	author sat;	state Exp;
branches;
next	1.2;

1.2
date	2006.06.12.16.34.14;	author sat;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.10.18.46.48;	author sat;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	eyeOS
# Date created:		2006-04-04
# Whom:			Nicola Vitale <nivit@@email.it>
#
# $FreeBSD: head/www/eyeos/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	eyeOS
DISTVERSION=	0.9.3-5
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME:L}/0.9.3-5

MAINTAINER=	nivit@@FreeBSD.org
COMMENT=	Web Based Desktop System

NO_BUILD=	yes
USE_PHP=	pcre session

WRKSRC=		${WRKDIR}/${PORTNAME}
EYEDIR?=	${PREFIX}/www/${PORTNAME}
RWDIRS=		etc
RODIRS=		apps login system
SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message
PLIST_SUB+=	EYEDIR="${EYEDIR:S,^${PREFIX}/,,}"
SUB_LIST+=	EYEDIR=${EYEDIR}

post-extract:
	@@${RM} -f ${WRKSRC}/DOCS/gpl-license.txt
	@@${MV} ${WRKSRC}/README.txt ${WRKSRC}/DOCS/USER.MANUAL

post-patch:
	@@${FIND} ${WRKSRC}/ -iname \*php | ${XARGS} ${REINPLACE_CMD} -e 's/0777/0775/g'
	@@${FIND} ${WRKSRC}/ -iname \*bak -delete

do-install:
	@@${INSTALL} -d ${EYEDIR}
	@@${CP} -Rp ${WRKSRC}/[a-z]* ${EYEDIR}/
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EYEDIR}/
	@@${CHMOD} 775 ${RWDIRS:S,^,${EYEDIR}/,}
	${ECHO_CMD} @@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${EYEDIR:S,^${PREFIX}/,,}/ >> ${TMPPLIST}
	${ECHO_CMD} @@exec ${CHMOD} 775 ${RWDIRS:S,^,%D/${EYEDIR:S,^${PREFIX}/,,}/,} >> ${TMPPLIST}
.ifndef NOPORTDOCS
	@@${INSTALL} -d ${DOCSDIR}
	@@${CP} -Rp ${WRKSRC}/DOCS/ ${DOCSDIR}/
	@@${CHMOD} -R ${SHAREMODE} ${DOCSDIR}/
	@@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/
.endif

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

# Maintainer section
create-plist: build
	${FIND} -s ${WRKSRC} -type f -or -type l | \
		${SED} -e 's#^${WRKSRC}/DOCS#%%PORTDOCS%%%%DOCSDIR%%#' \
			-e 's#^${WRKSRC}#%%EYEDIR%%#' > ${PLIST}
	${FIND} -ds ${WRKSRC}/DOCS ${RODIRS:S,^,${WRKSRC}/,} -type d | \
		${SED} -e 's#^${WRKSRC}/DOCS#%%PORTDOCS%%@@dirrm %%DOCSDIR%%#' \
			-e 's#^${WRKSRC}/system/themes$$#@@dirrmtry %%EYEDIR%%/system/themes#' \
			-e 's#^${WRKSRC}/system$$#@@dirrmtry %%EYEDIR%%/system#' \
			-e 's#^${WRKSRC}#@@dirrm %%EYEDIR%%#' >> ${PLIST}
	${FIND} -ds ${RWDIRS:S,^,${WRKSRC}/,} -type d | \
		${SED} -e 's#^${WRKSRC}#@@dirrmtry %%EYEDIR%%#' >> ${PLIST}
	${ECHO_CMD} @@dirrmtry %%EYEDIR%% >> ${PLIST}

.include <bsd.port.mk>
@


1.20
log
@- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@- Update to 0.9.3-5.wink.at.nivit.;)
@
text
@d11 1
a11 1
MASTER_SITES=	SFE
@


1.18
log
@- Update to 0.9.3-4
@
text
@d9 1
a9 1
DISTVERSION=	0.9.3-4
@


1.17
log
@- Update to 0.9.3-3
@
text
@d9 1
a9 1
DISTVERSION=	0.9.3-3
d11 1
a11 1
MASTER_SITES=	SF
@


1.16
log
@- Updated email address in my ports

Approved by:	alexbl (mentor)
@
text
@d9 1
a9 1
DISTVERSION=	0.9.3-2
a11 1
DISTNAME=	${PORTNAME}-${DISTVERSION}a
@


1.15
log
@- Update to 0.9.3.2a

PR:		ports/105566
Submitted by:	nivit@@email.it (Nicola Vitale) (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	nivit@@email.it
@


1.14
log
@- Update to 0.9.3-2
@
text
@d12 1
@


1.13
log
@- Fix the portversion, so that it doesn't go backwards

Reported by:	erwin
Pointy hat to:	sat
@
text
@d9 1
a9 2
PORTVERSION=	0.9.3.1.1
DISTVERSION=	0.9.3-1a
@


1.12
log
@- Update to 0.9.3-1a
@
text
@d9 1
@


1.11
log
@- Update to 0.9.3-1
@
text
@d9 1
a9 1
DISTVERSION=	0.9.3-1
@


1.10
log
@- Update to 0.9.3
@
text
@d9 1
a9 1
DISTVERSION=	0.9.3
@


1.9
log
@- Update to 0.9.1-4
@
text
@d9 1
a9 1
DISTVERSION=	0.9.1-4
d33 1
a33 1
	@@${FIND} ${WRKSRC}/ -iname \*php | xargs ${REINPLACE_CMD} -e 's/0777/0775/g'
@


1.8
log
@- Update to 0.9.1-3
@
text
@d9 1
a9 1
DISTVERSION=	0.9.1-3
d29 1
a29 1
	@@${RM} -f ${WRKSRC}/DOCS/gpl-license.txt ${WRKSRC}/CHANGES.txt
@


1.7
log
@- Update to 0.9.1-2
@
text
@d9 1
a9 1
DISTVERSION=	0.9.1-2
d29 1
a29 1
	@@${RM} -f ${WRKSRC}/DOCS/gpl-license.txt
@


1.6
log
@- Update to 0.9.1-1
@
text
@d9 1
a9 1
DISTVERSION=	0.9.1-1
@


1.5
log
@- Update to 0.9.1
@
text
@d9 1
a9 1
DISTVERSION=	0.9.1
@


1.4
log
@- Update to 0.9.0.4

PR:		99872
Submitted by:	Nicola Vitale <nivit email.it> (maintainer)
Approved by:	delphij (mentor, implicit)
@
text
@d9 1
a9 1
DISTVERSION=	0.9.0-4
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME:L}
d21 1
a21 1
RWDIRS=		etc home usr
d30 5
@


1.3
log
@- Update to 0.9.0.3 - minor bugfix release
@
text
@d9 1
a9 1
DISTVERSION=	0.9.0-3
@


1.2
log
@- Update to 0.9.0.2
- Don't install gpl-license.txt
- dirrmtry themes (and parent) dirs

PR:		ports/98745 (based on)
Submitted by:	Nicola Vitale <nivit@@email.it> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	0.9.0-2
@


1.1
log
@Add eyeOS: a Web Based Desktop System

PR:		ports/95303
Submitted by:	Nicola Vitale <nivit@@email.it>
Approved by:	osa (co-mentor)
@
text
@d9 1
a9 1
DISTVERSION=	0.8.15r1
d23 1
a23 1
RODIRS=		apps system
d29 3
d50 1
a50 1
create-plist:
d56 2
@

