diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-24 23:21:21 +0800 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-24 23:21:21 +0800 |
commit | 9a75d2ba3a946eb057a100ae07ca3baae0898226 (patch) | |
tree | 7f3d1507be8332be476ecf1ca824632313cea356 /net | |
parent | 6661c3f9668e9577216e97aecff437f1b1f73d85 (diff) | |
download | freebsd-ports-gnome-9a75d2ba3a946eb057a100ae07ca3baae0898226.tar.gz freebsd-ports-gnome-9a75d2ba3a946eb057a100ae07ca3baae0898226.tar.zst freebsd-ports-gnome-9a75d2ba3a946eb057a100ae07ca3baae0898226.zip |
Support staging
Diffstat (limited to 'net')
-rw-r--r-- | net/tcping/Makefile | 14 | ||||
-rw-r--r-- | net/tcping/pkg-plist | 3 |
2 files changed, 7 insertions, 10 deletions
diff --git a/net/tcping/Makefile b/net/tcping/Makefile index 1404ae36cdb7..b9732287cd4e 100644 --- a/net/tcping/Makefile +++ b/net/tcping/Makefile @@ -10,18 +10,18 @@ MASTER_SITES= http://www.linuxco.de/tcping/ \ MAINTAINER= dryice@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> diff --git a/net/tcping/pkg-plist b/net/tcping/pkg-plist deleted file mode 100644 index c7d9a9b1a837..000000000000 --- a/net/tcping/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/tcping -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |