freebsd-ports/www/pear-HTTP_Session/Makefile
Edwin Groothuis 1446aabaab pear-* ports: simplify path to devel/pear-PEAR/Makefile.common
.include <bsd.port.pre.mk>
    .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

    can be simplified to:

    .include <bsd.port.pre.mk>
    .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

    the latter version also doesn't make any assumptions about the
    path of including Makefile

PR:		ports/57152
Submitted by:	Roman Neuhauser <neuhauser@bellavista.cz>
2003-12-28 09:11:28 +00:00

36 lines
1.1 KiB
Makefile

# Ports collection makefile for: pear-HTTP_Session
# Date created: 13 December 2003
# Whom: Alex Miller (<asm@asm.kiev.ua>)
#
# $FreeBSD$
#
PORTNAME= HTTP_Session
PORTVERSION= 0.4
CATEGORIES= www devel pear
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR Object-oriented interface to the session_* family functions
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
.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>