bdaf2325dc
Drop ${PHP_BASE_VARS} from PKGVERSION by default. It used to be required to support multiple php version. But after PHP version based ${PHP_PKG_PREFIX} was introduced, such trick is not required anymore. In addition to this, such version name schme invokes unwanted version bump when base php version is bumped, plus, such version scheme is hard to use for DEPENDS pattern. To avoid downgrading of package using such legacy version scheme, PECL_LEGACY_VERSION_SCHEME is introduced. If it is defined, current version scheme is still used for currently supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS}, current fixed PHP base version in pkgsrc is used to avoid unwanted version bump from update of PHP base package. With newer PHP (54, or so on), new version scheme will be used if it is defined. This trick will not be required and should be removed after php5 and php53 will be gone away from pkgsrc.
16 lines
353 B
Makefile
16 lines
353 B
Makefile
# $NetBSD: Makefile,v 1.2 2011/12/17 13:46:29 obache Exp $
|
|
#
|
|
|
|
MODNAME= uploadprogress
|
|
PECL_VERSION= 1.0.1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= mbowie@buzmo.com
|
|
COMMENT= PHP extension to track progress of a file upload
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|