aboutsummaryrefslogtreecommitdiff
path: root/deskutils/phpicalendar
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 15:24:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 15:24:12 +0000
commita812006ba730010bcc7624de90a3a1bf0c19eab7 (patch)
treefb75efe1380fd1911ddd291f08eb93c3eddd1aea /deskutils/phpicalendar
parentc8468db7fa2c713580313307fe3ff947cd74aacd (diff)
downloadports-a812006ba730010bcc7624de90a3a1bf0c19eab7.tar.gz
ports-a812006ba730010bcc7624de90a3a1bf0c19eab7.zip
- Switch to options helpers
- Add some NO_ARCHes Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=396577
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>