mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
cc6b8bd3b4
99% of this update was from the original PR, which upgraded this port to 0.35 Because I sat on this for a week (sorry) another version was released. I did not include the ports version number in the DESCR file as patched in the PR, however, because I feel it is not needed. Also the patches below have been removed because the author included a a variation of them in the source code. PR: ports/11053 Submitted by: Gianmarco Giovanelli <gmarco@giovannelli.it>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: mtr
|
|
# Version required: 0.28
|
|
# Date created: 12 August 1998
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
#
|
|
# $Id:$
|
|
#
|
|
|
|
DISTNAME= mtr-0.37
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
|
|
http://www.giovannelli.it/~gmarco/files/
|
|
|
|
MAINTAINER= billf@FreeBSD.org
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
MAN8= mtr.8
|
|
|
|
pre-fetch:
|
|
.if !defined(USE_GTK)
|
|
@${ECHO} ""
|
|
@${ECHO} "If you want to compile with GTK support,"
|
|
@${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" "
|
|
@${ECHO} ""
|
|
CONFIGURE_ARGS=--with-gtk-prefix=/nopath
|
|
.else
|
|
USE_XLIB= yes
|
|
LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
|
|
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8
|
|
|
|
post-install:
|
|
@${ECHO} ""
|
|
@${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
|
|
@${ECHO} ""
|
|
@${ECHO} "Please read about potential security iussues"
|
|
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
|
|
@${ECHO} ""
|
|
|
|
.include <bsd.port.mk>
|