- 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 <vsityz@gmail.com> (maintainer)
This commit is contained in:
Felippe de Meirelles Motta 2013-09-02 15:40:00 +00:00
parent bee65d048d
commit f3b28b1ba8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326014
2 changed files with 5 additions and 4 deletions

View file

@ -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 <bsd.port.options.mk>
.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}