mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage support
This commit is contained in:
parent
f931ee1cf5
commit
aa06a40c2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342354
@ -19,8 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:${PORTSDIR}/graphics/netpbm \
|
||||
USES= perl5
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-themedir=${DATADIR}
|
||||
|
||||
MAN1= cthumb.1
|
||||
CONFIGURE_ENV= perl_path=${PERL}
|
||||
|
||||
PORTDOCS= ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample
|
||||
|
||||
@ -49,20 +48,19 @@ THEMES= blue-steel.theme \
|
||||
tv-large.theme \
|
||||
tv.theme
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
.for theme in ${THEMES}
|
||||
${MKDIR} ${DATADIR}/${theme}
|
||||
${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/${theme}
|
||||
${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${STAGEDIR}${DATADIR}/${theme}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/cthumb
|
||||
man/man1/cthumb.1.gz
|
||||
%%DATADIR%%/blue-steel.theme/1.gif
|
||||
%%DATADIR%%/blue-steel.theme/back.png
|
||||
%%DATADIR%%/blue-steel.theme/bot.png
|
||||
|
Loading…
Reference in New Issue
Block a user