mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Enable stage
Use shebangfix Use pkg-plist Cleanup
This commit is contained in:
parent
fa9f10a8c3
commit
bdf22bb58f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330898
@ -11,30 +11,15 @@ MAINTAINER= multimedia@FreeBSD.org
|
||||
COMMENT= Podcast client for the command line
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= bin/${PORTNAME}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/podcatcher \
|
||||
${EXAMPLESDIR_REL}/arguments.txt \
|
||||
${EXAMPLESDIR_REL}/options.yaml \
|
||||
${EXAMPLESDIR_REL}/subscriptions.pcast \
|
||||
${EXAMPLESDIR_REL}/subscriptions.opml
|
||||
|
||||
PLIST_DIRS= ${EXAMPLESDIR_REL}
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-install:
|
||||
@${SED} -i.bak 's,#!/usr/bin/env ruby,#!${RUBY},' ${WRKSRC}/bin/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR} \
|
||||
&& \
|
||||
( cd ${WRKSRC}/demo \
|
||||
&& ${COPYTREE_SHARE} \* ${EXAMPLESDIR} \
|
||||
)
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/demo; ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
6
multimedia/podcatcher/pkg-plist
Normal file
6
multimedia/podcatcher/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/podcatcher
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arguments.txt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/options.yaml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subscriptions.opml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subscriptions.pcast
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user