pkgsrc/www/apc-gui/Makefile
fredb b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2002/03/13 17:37:50 fredb Exp $
DISTNAME= apc_gui-1.0.3
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://apc.neuropeans.com/download/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://apc.neuropeans.com/
COMMENT= web interface for managing APC (php-apc)
DEPENDS+= php-apc>=1.1.0.1:../../www/php4-apc
DEPENDS+= php-gd>=4.0.1:../../graphics/php4-gd
NO_BUILD= YES
PKG_SYSCONFSUBDIR?= httpd
APC_GUI_DIR= ${PREFIX}/share/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
PLIST_SUBST+= PKGBASE=${PKGBASE}
MESSAGE_SUBST+= APC_GUI_DIR=${APC_GUI_DIR}
CONF_FILES= ${EGDIR}/apc_gui.conf ${PKG_SYSCONFDIR}/apc_gui.conf
CONF_FILES+= /dev/null ${APC_GUI_DIR}/apc_config_local.php
OWN_DIRS= ${APC_GUI_DIR}
pre-install:
${SED} ${FILES_SUBST_SED} ${FILESDIR}/apc_gui.conf.dist \
> ${WRKDIR}/apc_gui.conf.dist
do-install:
${INSTALL_DATA_DIR} ${APC_GUI_DIR} ${EGDIR}
cd ${WRKDIR}; ${INSTALL_DATA} apc_gui.conf.dist \
${EGDIR}/apc_gui.conf
${CP} -R ${WRKSRC}/* ${APC_GUI_DIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${APC_GUI_DIR}
${CHMOD} -R a-w ${APC_GUI_DIR}
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"