Changeset View
Changeset View
Standalone View
Standalone View
www/xpi-adblock/Makefile.xpi
Show All 11 Lines | |||||
# PORTNAME, PORTVERSION, DISTVERSIONSUFFIX, CATEGORIES, MAINTAINER, COMMENT | # PORTNAME, PORTVERSION, DISTVERSIONSUFFIX, CATEGORIES, MAINTAINER, COMMENT | ||||
# - These should all be set manually for port to be functional. See | # - These should all be set manually for port to be functional. See | ||||
# ${PORTSDIR}/Mk/bsd.port.mk for details. | # ${PORTSDIR}/Mk/bsd.port.mk for details. | ||||
# MASTER_SITES - This should be set if port is unavailable at the default site. | # MASTER_SITES - This should be set if port is unavailable at the default site. | ||||
# Default (defined below): | # Default (defined below): | ||||
# MOZILLA_ADDONS/addons/${XPI_NUM} | # MOZILLA_ADDONS/addons/${XPI_NUM} | ||||
# or | # or | ||||
# MOZILLA_ADDONS/extensions/${XPI_DISTNAME} | # MOZILLA_ADDONS/extensions/${XPI_DISTNAME} | ||||
# LATEST_LINK - Default: ${PKGBASE:S/_//g} | |||||
# XPI_LIBDIR - Name of the directory to install extensions in. | # XPI_LIBDIR - Name of the directory to install extensions in. | ||||
# Default: ${PREFIX}/lib/xpi | # Default: ${PREFIX}/lib/xpi | ||||
# XPI_XPIDIR - Name of the directory to install extension's files in. | # XPI_XPIDIR - Name of the directory to install extension's files in. | ||||
# Default: ${XPI_LIBDIR}/${XPI_ID} | # Default: ${XPI_LIBDIR}/${XPI_ID} | ||||
# USE_XPI - If set, the port installs one or more xpi extensions. | # USE_XPI - If set, the port installs one or more xpi extensions. | ||||
# If this is set to a list of apps (wildcards possible) the | # If this is set to a list of apps (wildcards possible) the | ||||
# extensions will be installed for them only. | # extensions will be installed for them only. | ||||
# WITH_XPI - A user-tunable variable, determines which apps should | # WITH_XPI - A user-tunable variable, determines which apps should | ||||
Show All 36 Lines | |||||
.else | .else | ||||
MASTER_SITES?= MOZILLA_ADDONS/extensions/${XPI_DISTNAME} | MASTER_SITES?= MOZILLA_ADDONS/extensions/${XPI_DISTNAME} | ||||
.endif | .endif | ||||
.endif | .endif | ||||
PKGNAMEPREFIX?= xpi- | PKGNAMEPREFIX?= xpi- | ||||
EXTRACT_SUFX?= .xpi | EXTRACT_SUFX?= .xpi | ||||
DISTNAME?= ${XPI_DISTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} | DISTNAME?= ${XPI_DISTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} | ||||
DIST_SUBDIR?= xpi | DIST_SUBDIR?= xpi | ||||
LATEST_LINK?= ${PKGBASE:S/_//g} | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
USES+= zip:infozip | USES+= zip:infozip | ||||
EXTRACT_AFTER_ARGS= -d ${WRKSRC} | EXTRACT_AFTER_ARGS= -d ${WRKSRC} | ||||
XPI_DISTNAME?= ${PORTNAME} | XPI_DISTNAME?= ${PORTNAME} | ||||
XPI_APPS_ALL_WC= *firefox* *thunderbird* *seamonkey* | XPI_APPS_ALL_WC= *firefox* *thunderbird* *seamonkey* | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |