summaryrefslogtreecommitdiff
path: root/www/pear-HTTP_Session/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/pear-HTTP_Session/Makefile20
1 files changed, 4 insertions, 16 deletions
diff --git a/www/pear-HTTP_Session/Makefile b/www/pear-HTTP_Session/Makefile
index 5b94c8a269f0..6145ca927186 100644
--- a/www/pear-HTTP_Session/Makefile
+++ b/www/pear-HTTP_Session/Makefile
@@ -15,22 +15,10 @@ COMMENT= PEAR Object-oriented interface to the session_* family functions
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
+FILES= Session.php Session/Container.php Session/Container/DB.php
+EXAMPLES= HTTP_Session_Example.php sessiondata.sql
+_EXAMPLESDIR= docs
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/docs/sessiondata.sql ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/docs/HTTP_Session_Example.php ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
-do-install:
- @${MKDIR} ${PEARDIR}/Session/Container
- @${CP} -p ${WRKSRC}/Session/Container/DB.php ${PEARDIR}/Session/Container
- @${CP} -p ${WRKSRC}/Session/Container.php ${PEARDIR}/Session
- @${CP} ${WRKSRC}/Session.php ${PEARDIR}
- @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session.php
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session
-
.include <bsd.port.post.mk>