openbsd-ports/www/community-id/Makefile

52 lines
1.1 KiB
Makefile
Raw Normal View History

2011-09-16 08:00:05 -04:00
# $OpenBSD: Makefile,v 1.10 2011/09/16 12:00:06 espie Exp $
COMMENT= PHP OpenID implementation
2010-03-21 06:32:31 -04:00
V= 1.2.1
BASE_URL= http://source.keyboard-monkeys.org
DISTNAME= cid-${V}
PKGNAME= community-id-${V}
2011-09-16 08:00:05 -04:00
REVISION= 6
CATEGORIES= www security
HOMEPAGE= ${BASE_URL}/projects/show/communityid
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-03-21 06:32:31 -04:00
MASTER_SITES= ${BASE_URL}/attachments/download/110/
2011-07-08 20:14:45 -04:00
MODULES= lang/php
# php-gd-*-!no_x11 because we need freetype support
RUN_DEPENDS= php-gd-*-!no_x11:lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-gmp \
lang/php/${MODPHP_VERSION},-mysqli
WRKDIST= ${WRKDIR}/communityid
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/communityid
SUBST_VARS= INSTDIR BASE_URL
do-install:
cp -Rp ${WRKBUILD} ${INSTDIR}
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
find ${INSTDIR} -type f -name \*.orig | xargs rm
${INSTALL_DATA} ${FILESDIR}/communityid.conf \
${INSTDIR}/communityid.conf.dist
.include <bsd.port.mk>