Index: head/net/tcping/pkg-plist =================================================================== --- head/net/tcping/pkg-plist (revision 345865) +++ head/net/tcping/pkg-plist (nonexistent) @@ -1,3 +0,0 @@ -bin/tcping -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/net/tcping/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/tcping/Makefile =================================================================== --- head/net/tcping/Makefile (revision 345865) +++ head/net/tcping/Makefile (revision 345866) @@ -1,27 +1,27 @@ # Created by: Dryice Liu # $FreeBSD$ PORTNAME= tcping PORTVERSION= 1.3.5 CATEGORIES= net MASTER_SITES= http://www.linuxco.de/tcping/ \ http://dryice.name/computer/FreeBSD/distfiles/ MAINTAINER= dryice@dryice.name COMMENT= Do a TCP connect to the given IP/port combination -DOCS= README +PLIST_FILES= bin/tcping +PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + 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