mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
a571331cf2
Mail system. It includes mail, contacts, and calendar that displays it in a simple, yet elegant way. MobileCube works with RoundCube 0.3.1+ so if you have RoundCube set up and installed, download MobileCube today and try it out! It's free! We hope you enjoy it! WWW: http://phireware.com/projects/mobilecube/ PR: ports/145014 Submitted by: Alexey V. Degtyarev <alexey at renatasystems.org>
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: mobilecube
|
|
# Date created: Wed 24 Mar 2010
|
|
# Whom: Alexey V. Degtyarev <alexey@renatasystems.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mobilecube
|
|
PORTVERSION= ${THEME_VERSION}.${THEME_BUILD}
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF/${PORTNAME}/${THEME_VERSION}%20Beta/Build%20%23${THEME_BUILD}/
|
|
PKGNAMEPREFIX= roundcube-
|
|
DISTNAME= MobileCubeBeta%23${THEME_BUILD}
|
|
|
|
MAINTAINER= alexey@renatasystems.org
|
|
COMMENT= Theme for RoundCube Web Mail
|
|
|
|
RUN_DEPENDS= roundcube>=0.3:${PORTSDIR}/mail/roundcube
|
|
|
|
THEME_VERSION?= 3.1.0
|
|
THEME_BUILD?= 030110A
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/MobileCubeBeta\#${THEME_BUILD}
|
|
WWWDIR?= ${PREFIX}/www/roundcube/skins/MobileCube
|
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
x-generate-plist: build
|
|
cd ${WRKSRC}/MobileCube; \
|
|
${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
|
|
${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
|
|
${FIND} . -type d | ${SORT} -r | ${SED} \
|
|
-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
|
|
-e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
|
|
post-patch:
|
|
${FIND} ${WRKSRC} -type f -name '*.orig' -or -name '.DS_Store' -delete
|
|
|
|
do-install:
|
|
${MKDIR} ${WWWDIR}
|
|
cd ${WRKSRC}/MobileCube && ${PAX} -r -w . ${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|