openbsd-ports/archivers/pecl-rar/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2010/11/15 00:22:45 espie Exp $
SHARED_ONLY= Yes
COMMENT= PHP support for rar archives
DISTNAME= rar-2.0.0
PKGNAME= pecl-${DISTNAME}
EXTRACT_SUFX= .tgz
MASTER_SITES= http://pecl.php.net/get/
CATEGORIES= archivers www
HOMEPAGE= http://pecl.php.net/package/rar/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# PHP License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
AUTOCONF_VERSION= 2.62
AUTOMAKE_VERSION= 1.9
BUILD_DEPENDS= www/pear \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
RUN_DEPENDS= www/php5/core
WANTLIB= stdc++
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
PREFIX= /var/www
DESTDIRNAME= INSTALL_ROOT
NO_REGRESS= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
pre-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/phpize
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/conf/php5.sample
@echo "extension=rar.so" > \
${PREFIX}/conf/php5.sample/rar.ini
.include <bsd.port.mk>