Skip to content

Commit

Permalink
archivers/pear-File_Archive: Change the way *_DEPENDS are set
Browse files Browse the repository at this point in the history
- Remove BUILD_DEPENDS
  • Loading branch information
sunpoet committed Jul 15, 2021
1 parent 0f6d454 commit 3bbbc67
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions archivers/pear-File_Archive/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@ COMMENT= PEAR class to manipulate tar, gz, tgz, bz2, tbz, zip, ar (deb) files

LICENSE= LGPL3

BUILD_DEPENDS= ${PEARDIR}/MIME/Type.php:mail/pear-MIME_Type@${PHP_FLAVOR}
RUN_DEPENDS= ${PEARDIR}/MIME/Type.php:mail/pear-MIME_Type@${PHP_FLAVOR}

USES= pear php

NO_ARCH= yes
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}MIME_Type>=0:mail/pear-MIME_Type@${PHP_FLAVOR}

USES= pear
USE_PHP= bz2 pcre zlib

OPTIONS_DEFINE= PEAR_MAIL PEAR_MAIL_MIME PEAR_CACHE_LITE
NO_ARCH= yes

OPTIONS_DEFINE= PEAR_CACHE_LITE PEAR_MAIL PEAR_MAIL_MIME
PEAR_CACHE_LITE_DESC= PEAR::Cache_Lite support
PEAR_MAIL_DESC= PEAR::Mail support
PEAR_MAIL_MIME_DESC= PEAR::Mail_Mime support
PEAR_CACHE_LITE_DESC= PEAR::Cache_Lite support

PEAR_MAIL_RUN_DEPENDS= ${PEARDIR}/Mail.php:mail/pear-Mail@${PHP_FLAVOR}
PEAR_MAIL_MIME_RUN_DEPENDS= ${PEARDIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR}
PEAR_CACHE_LITE_RUN_DEPENDS+= ${PEARDIR}/Cache/Lite.php:sysutils/pear-Cache_Lite@${PHP_FLAVOR}
PEAR_CACHE_LITE_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Cache_Lite>=1.5.0:sysutils/pear-Cache_Lite@${PHP_FLAVOR}
PEAR_MAIL_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Mail>=0:mail/pear-Mail@${PHP_FLAVOR}
PEAR_MAIL_MIME_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Mail_Mime>=0:mail/pear-Mail_Mime@${PHP_FLAVOR}

.include <bsd.port.mk>

0 comments on commit 3bbbc67

Please sign in to comment.