From f3b28b1ba8b7449c7914b5baf9e2bf9d2e11e40b Mon Sep 17 00:00:00 2001 From: Felippe de Meirelles Motta Date: Mon, 2 Sep 2013 15:40:00 +0000 Subject: [PATCH] - Set correctly MASTER_SITES - Use appropriate COMMENT - Move pkg-message to files/pkg-message.in using SUB_FILES - Use INSTALL_PROGRAM PR: ports/180180 Submitted by: lippe@ Approved by: Alexander Panyushkin (maintainer) --- net/hanstunnel/Makefile | 9 +++++---- net/hanstunnel/{pkg-message => files/pkg-message.in} | 0 2 files changed, 5 insertions(+), 4 deletions(-) rename net/hanstunnel/{pkg-message => files/pkg-message.in} (100%) diff --git a/net/hanstunnel/Makefile b/net/hanstunnel/Makefile index 1f3b74cece3c..0832da1c8700 100644 --- a/net/hanstunnel/Makefile +++ b/net/hanstunnel/Makefile @@ -4,13 +4,12 @@ PORTNAME= hans PORTVERSION= 0.4.1 CATEGORIES= net security -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= /hanstunnel/source/ +MASTER_SITES= SF/hanstunnel/source MAINTAINER= vsityz@gmail.com COMMENT= Hans makes it possible to tunnel IPv4 through ICMP -LICENSE_PERMS_GPL3= yes +LICENSE= GPLv3 OPTIONS_DEFINE= CLANG @@ -20,6 +19,8 @@ OPTIONS_DEFAULT= CLANG PLIST_FILES= bin/hans +SUB_FILES= pkg-message + .include .if ${PORT_OPTIONS:MCLANG} @@ -38,7 +39,7 @@ CPP=gcpp .endif do-install: - @${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/hans ${LOCALBASE}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/hans ${LOCALBASE}/bin post-install: .SILENT ${ECHO_MSG} diff --git a/net/hanstunnel/pkg-message b/net/hanstunnel/files/pkg-message.in similarity index 100% rename from net/hanstunnel/pkg-message rename to net/hanstunnel/files/pkg-message.in