mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
34470f2ebe
- install license with LICENSE knob - use USE_PYTHON instead of RUN_DEPENDS - use DOS2UNIX instead of homemade commands - use DATADIR instead of share/hmap - use COPYTREE_SHARE for copying group of files - fix plist - bump PORTREVISION because of plist changes PR: 156693 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: maintainer timeout (>4 months)
42 lines
869 B
Makefile
42 lines
869 B
Makefile
# Ports collection makefile for: hmap
|
|
# Date created: 29 Apr 2003
|
|
# Whom: Yonatan <onatan@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hmap
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://ujeni.murkyroc.com/hmap/code/current/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= Web server fingerprinting utility
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/GPL
|
|
|
|
USE_DOS2UNIX= yes
|
|
USE_PYTHON= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|' ${WRKSRC}/hmap.py
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${PREFIX}/bin/
|
|
${MKDIR} ${DATADIR}
|
|
(cd ${WRKSRC}/known.servers/ && ${COPYTREE_SHARE} \* ${DATADIR})
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in README BUGS FAQS HIDING_GUIDE KNOWN_TESTS
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|