Skip to content

Commit

Permalink
www/p5-Net-eBay: Convert PORTEXAMPLES to PLIST entries
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 20, 2021
1 parent 005b5e3 commit c282719
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
11 changes: 5 additions & 6 deletions www/p5-Net-eBay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay \
p5-XML-Simple>=0:textproc/p5-XML-Simple \
p5-libwww>=0:www/p5-libwww

OPTIONS_DEFINE= EXAMPLES
USES= perl5 shebangfix
USE_PERL5= configure

NO_ARCH= yes
USE_PERL5= configure
USES= perl5 shebangfix

PORTEXAMPLES= *
SHEBANG_FILES= *.pl

SHEBANG_FILES= examples/*.pl
OPTIONS_DEFINE= EXAMPLES

post-extract:
post-patch:
@${MKDIR} ${WRKSRC}/examples/
@${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/

Expand Down
19 changes: 19 additions & 0 deletions www/p5-Net-eBay/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
%%SITE_PERL%%/Net/eBay.pm
%%PERL5_MAN3%%/Net::eBay.3.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-add-item.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-api-usage.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-end-item-early.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-all-bidders.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-categories.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-high-bidders.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-item-transactions.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-item.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-my-selling.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-my-sold.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-seller-list.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-suggested-categories.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-user-contact.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-get-user-feedback.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-leave-feedback.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-official-time.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-revise-item.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-search.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-validate-test-user.pl

0 comments on commit c282719

Please sign in to comment.