mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support staging
This commit is contained in:
parent
6661c3f966
commit
9a75d2ba3a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345866
@ -10,18 +10,18 @@ MASTER_SITES= http://www.linuxco.de/tcping/ \
|
|||||||
MAINTAINER= dryice@dryice.name
|
MAINTAINER= dryice@dryice.name
|
||||||
COMMENT= Do a TCP connect to the given IP/port combination
|
COMMENT= Do a TCP connect to the given IP/port combination
|
||||||
|
|
||||||
DOCS= README
|
PLIST_FILES= bin/tcping
|
||||||
|
PORTDOCS= README
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-build:
|
do-build:
|
||||||
cd ${WRKSRC} && \
|
cd ${WRKSRC} && \
|
||||||
${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c
|
${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/tcping ${PREFIX}/bin/tcping
|
${INSTALL_PROGRAM} ${WRKSRC}/tcping ${STAGEDIR}${PREFIX}/bin
|
||||||
.if !defined(NOPORTDOCS)
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
bin/tcping
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
Loading…
Reference in New Issue
Block a user