aboutsummaryrefslogtreecommitdiff
path: root/www/eyeos/Makefile
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-06-12 16:34:14 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-06-12 16:34:14 +0000
commit8cf625aa96a58c13c4a57e5dfd3d0f0731206415 (patch)
tree1609b9ca3115e2e9bc1c2b210bf73f155ed05682 /www/eyeos/Makefile
parent637ab1e3fcf83095870cbbb35dc242aac7e16516 (diff)
downloadports-8cf625aa96a58c13c4a57e5dfd3d0f0731206415.tar.gz
ports-8cf625aa96a58c13c4a57e5dfd3d0f0731206415.zip
Notes
Diffstat (limited to 'www/eyeos/Makefile')
-rw-r--r--www/eyeos/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/eyeos/Makefile b/www/eyeos/Makefile
index ad2e0e84b07c..a5956e636f3a 100644
--- a/www/eyeos/Makefile
+++ b/www/eyeos/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= eyeOS
-DISTVERSION= 0.8.15r1
+DISTVERSION= 0.9.0-2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
@@ -20,12 +20,15 @@ USE_PHP= pcre session
WRKSRC= ${WRKDIR}/${PORTNAME}
EYEDIR?= ${PREFIX}/www/${PORTNAME}
RWDIRS= etc home usr
-RODIRS= apps system
+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
+
do-install:
@${INSTALL} -d ${EYEDIR}
@${CP} -Rp ${WRKSRC}/[a-z]* ${EYEDIR}/
@@ -44,12 +47,14 @@ post-install:
@${CAT} ${PKGMESSAGE}
# Maintainer section
-create-plist:
+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}