32 lines
852 B
Makefile
32 lines
852 B
Makefile
|
# Ports collection makefile for: pear-Horde_Role
|
||
|
# Date created: 6 July 2011
|
||
|
# Whom: Martin Matuska <mm@FreeBSD.org>
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= Horde_Role
|
||
|
DISTVERSION= 1.0.0
|
||
|
CATEGORIES= devel www pear
|
||
|
|
||
|
MAINTAINER= mm@FreeBSD.org
|
||
|
COMMENT= PEAR installer role for Horde components
|
||
|
|
||
|
PATCH_WRKSRC= ${WRKDIR}
|
||
|
|
||
|
.include <bsd.port.pre.mk>
|
||
|
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
|
||
|
|
||
|
post-install:
|
||
|
@${MKDIR} ${PREFIX}/${HORDE_DIR}
|
||
|
@${TOUCH} ${PREFIX}/${HORDE_DIR}/.keep_me
|
||
|
@${ECHO_CMD} "${HORDE_DIR}/.keep_me" >> ${TMPPLIST}
|
||
|
@${ECHO_CMD} "@exec ${PEAR} config-set horde_dir %D/${HORDE_DIR}" >> \
|
||
|
${TMPPLIST}
|
||
|
@${ECHO_CMD} "@unexec rmdir %D/${HORDE_DIR} 2>/dev/null || true" >> \
|
||
|
${TMPPLIST}
|
||
|
@${ECHO_CMD} "===> Configuring PEAR horde_dir"
|
||
|
@${PEAR} config-set horde_dir ${PREFIX}/${HORDE_DIR}
|
||
|
|
||
|
.include <bsd.port.post.mk>
|