svn commit: r462778 - head/dns/ghtool
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Feb 24 09:03:00 UTC 2018
Author: amdmi3
Date: Sat Feb 24 09:02:59 2018
New Revision: 462778
URL: https://svnweb.freebsd.org/changeset/ports/462778
Log:
- Add LICENSE
- Simplify Makefile and pkg-descr
- Update WWW
Approved by: portmgr blanket
Modified:
head/dns/ghtool/Makefile
head/dns/ghtool/pkg-descr
Modified: head/dns/ghtool/Makefile
==============================================================================
--- head/dns/ghtool/Makefile Sat Feb 24 08:57:20 2018 (r462777)
+++ head/dns/ghtool/Makefile Sat Feb 24 09:02:59 2018 (r462778)
@@ -6,25 +6,23 @@ PORTVERSION= 1.0
CATEGORIES= dns
MASTER_SITES= SF/gh-tool/gh-tool/1
DISTNAME= ghmain.c
-EXTRACT_SUFX=
+EXTRACT_SUFX= # none
MAINTAINER= ports at FreeBSD.org
COMMENT= Command-line interface to the resolver library
-WRKSRC= ${WRKDIR}
+LICENSE= NONE
-TGT= gh
-SRC= gh.c
-
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= ${WRKSRC}/${SRC}
PLIST_FILES= bin/gh
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ ${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/
+
do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/${TGT} ${WRKSRC}/${SRC}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKDIR}/gh ${WRKDIR}/ghmain.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${TGT} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/gh ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
Modified: head/dns/ghtool/pkg-descr
==============================================================================
--- head/dns/ghtool/pkg-descr Sat Feb 24 08:57:20 2018 (r462777)
+++ head/dns/ghtool/pkg-descr Sat Feb 24 09:02:59 2018 (r462778)
@@ -1,8 +1,6 @@
-To quote from the SourceForge project description:
+gh-tool is a command-line interface to gethostby*, in libresolv/libc.
+It allows one to check the local system's notion of an IP->DNS or
+DNS->IP mapping, including aliases, directly, rather than digging for
+mappings in DNS, which may or may not be relevant.
- gh-tool is a command-line interface to gethostby*, in libresolv/libc.
- It allows one to check the local system's notion of an IP->DNS or
- DNS->IP mapping, including aliases, directly, rather than digging for
- mappings in DNS, which may or may not be relevant.
-
-WWW: http://www.sourceforge.net/projects/gh-tool/
+WWW: https://sourceforge.net/projects/gh-tool/
More information about the svn-ports-head
mailing list