50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2010/01/04 08:58:11 ajacoutot Exp $
|
||
|
|
||
|
COMMENT= PHP OpenID implementation
|
||
|
|
||
|
V= 1.1.1
|
||
|
BASE_URL= http://source.keyboard-monkeys.org
|
||
|
|
||
|
DISTNAME= cid-${V}
|
||
|
PKGNAME= community-id-${V}
|
||
|
|
||
|
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
|
||
|
|
||
|
MASTER_SITES= ${BASE_URL}/attachments/download/74/
|
||
|
|
||
|
# php5-gd-*-!no_x11 because we need freetype support
|
||
|
RUN_DEPENDS= :php5-gd-*-!no_x11:www/php5/extensions,-gd \
|
||
|
:php5-gmp-*:www/php5/extensions,-gmp \
|
||
|
:php5-mysqli-*:www/php5/extensions,-mysqli
|
||
|
|
||
|
WRKDIST= ${WRKDIR}/communityid
|
||
|
|
||
|
NO_BUILD= Yes
|
||
|
NO_REGRESS= Yes
|
||
|
PKG_ARCH= *
|
||
|
|
||
|
PREFIX= /var/www
|
||
|
INSTDIR= ${PREFIX}/communityid
|
||
|
SUBST_VARS= INSTDIR BASE_URL
|
||
|
|
||
|
post-extract:
|
||
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
||
|
${WRKSRC}/README.OpenBSD
|
||
|
|
||
|
do-install:
|
||
|
cp -Rp ${WRKBUILD} ${INSTDIR}
|
||
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
||
|
find ${INSTDIR} -type f -name \*.orig | xargs rm
|
||
|
|
||
|
.include <bsd.port.mk>
|