svn commit: r345866 - head/net/tcping
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 24 15:21:22 UTC 2014
Author: ehaupt
Date: Mon Feb 24 15:21:21 2014
New Revision: 345866
URL: http://svnweb.freebsd.org/changeset/ports/345866
QAT: https://qat.redports.org/buildarchive/r345866/
Log:
Support staging
Deleted:
head/net/tcping/pkg-plist
Modified:
head/net/tcping/Makefile
Modified: head/net/tcping/Makefile
==============================================================================
--- head/net/tcping/Makefile Mon Feb 24 15:17:50 2014 (r345865)
+++ head/net/tcping/Makefile Mon Feb 24 15:21:21 2014 (r345866)
@@ -10,18 +10,18 @@ MASTER_SITES= http://www.linuxco.de/tcpi
MAINTAINER= dryice at dryice.name
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:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcping ${PREFIX}/bin/tcping
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcping ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list