aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/phpicalendar
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-10 23:24:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-10 23:24:12 +0800
commit11e9f9874c71e7836217835f4a338e8de25c39c8 (patch)
treefb75efe1380fd1911ddd291f08eb93c3eddd1aea /deskutils/phpicalendar
parent6a614f980620082cefdcb06e04c6dd8966cc7000 (diff)
downloadfreebsd-ports-gnome-11e9f9874c71e7836217835f4a338e8de25c39c8.tar.gz
freebsd-ports-gnome-11e9f9874c71e7836217835f4a338e8de25c39c8.tar.zst
freebsd-ports-gnome-11e9f9874c71e7836217835f4a338e8de25c39c8.zip
- Switch to options helpers
- Add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'deskutils/phpicalendar')
-rw-r--r--deskutils/phpicalendar/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/deskutils/phpicalendar/Makefile b/deskutils/phpicalendar/Makefile
index a010fc001590..534d42828ef0 100644
--- a/deskutils/phpicalendar/Makefile
+++ b/deskutils/phpicalendar/Makefile
@@ -21,6 +21,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bz2
NO_BUILD= yes
+NO_ARCH= yes
USE_PHP= session pcre
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
@@ -30,8 +31,6 @@ PORTDOCS= AUTHORS COPYING README TIMEZONES
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
@@ -42,9 +41,9 @@ do-install:
.for f in caldav.php config.inc.php.sample day.php default_config.php error.php index.php month.php preferences.php print.php search.php week.php year.php
@${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>