mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
eea07d0858
commit
8266578f94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356943
@ -4,24 +4,24 @@
|
||||
PORTNAME= iselect
|
||||
PORTVERSION= 1.4.0
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_OSSP}
|
||||
MASTER_SITES= OSSP
|
||||
MASTER_SITE_SUBDIR= tool/iselect
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Interactive Selection Tool
|
||||
|
||||
OPTIONS_DEFINE= SLANG
|
||||
OPTIONS_DEFINE= SLANG EXAMPLES
|
||||
SLANG_DESC= Link with slang
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= iselect.1
|
||||
PLIST_FILES= bin/iselect man/man1/iselect.1.gz
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MSLANG}
|
||||
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
|
||||
LIB_DEPENDS+= libslang.so:${PORTSDIR}/devel/libslang2
|
||||
CONFIGURE_ARGS+= --with-incdir=${LOCALBASE}/include \
|
||||
--with-libdir=${LOCALBASE}/lib
|
||||
.endif
|
||||
@ -30,12 +30,10 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/iselect ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/iselect.1 ${MANPREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/iselect ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/iselect.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/example && ${FIND} . | \
|
||||
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
||||
.endif
|
||||
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,27 +0,0 @@
|
||||
bin/iselect
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/chdir/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/chdir/dot.bashrc
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/dot.gotourlrc
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/dot.vimrc
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/gotourl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/dot.bashrc
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/dot.ilogin
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/ilogin
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/melm/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/melm/melm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/melm/xmelm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/mtin
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/xmtin
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/dot.scvsrc
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/scvs
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/scvs
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/mtin
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/melm
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/ilogin
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gotourl
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/chdir
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user