From nobody@FreeBSD.org  Sun Oct 20 08:08:47 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 16E84D49
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Oct 2013 08:08:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 046892BA4
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Oct 2013 08:08:47 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9K88kIL099049
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Oct 2013 08:08:46 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9K88kmo099021;
	Sun, 20 Oct 2013 08:08:46 GMT
	(envelope-from nobody)
Message-Id: <201310200808.r9K88kmo099021@oldred.freebsd.org>
Date: Sun, 20 Oct 2013 08:08:46 GMT
From: CyberLeo <cyberleo@cyberleo.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: misc/flag - Produce a colourful flag from the machine hostname
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183117
>Category:       ports
>Synopsis:       New port: misc/flag - Produce a colourful flag from the machine hostname
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 20 08:10:00 UTC 2013
>Closed-Date:    Sun May 25 07:34:23 UTC 2014
>Last-Modified:  Sun May 25 07:40:02 UTC 2014
>Originator:     CyberLeo
>Release:        
>Organization:
CyberLeo.Net
>Environment:
>Description:

>How-To-Repeat:

>Fix:
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.13.5).
# To extract the files from this archive, save it to some FILE, remove
# everything before the '#!/bin/sh' line above, then type 'sh FILE'.
#
lock_dir=_sh02250
# Made on 2013-10-20 03:03 CDT by <cyberleo@arba>.
# Source directory was '/home/cyberleo/scm/git/cdn-ports-overlay/cdn/ports/misc-cdn'.
#
# Existing files will *not* be overwritten, unless '-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    848 -rw-r--r-- flag/Makefile
#    120 -rw-r--r-- flag/distinfo
#    351 -rw-r--r-- flag/pkg-descr
#
MD5SUM=${MD5SUM-md5sum}
f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'`
test -n "${f}" && md5check=true || md5check=false
${md5check} || \
  echo 'Note: not verifying md5sums.  Consider installing GNU coreutils.'
if test "X$1" = "X-c"
then keep_file=''
else keep_file=true
fi
echo=echo
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=
locale_dir=
set_echo=false

for dir in $PATH
do
  if test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    case `$dir/gettext --version 2>&1 | sed 1q` in
      *GNU*) gettext_dir=$dir
      set_echo=true
      break ;;
    esac
  fi
done

if ${set_echo}
then
  set_echo=false
  for dir in $PATH
  do
    if test -f $dir/shar \
       && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
    then
      locale_dir=`$dir/shar --print-text-domain-dir`
      set_echo=true
      break
    fi
  done

  if ${set_echo}
  then
    TEXTDOMAINDIR=$locale_dir
    export TEXTDOMAINDIR
    TEXTDOMAIN=sharutils
    export TEXTDOMAIN
    echo="$gettext_dir/gettext -s"
  fi
fi
IFS="$save_IFS"
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null
then if (echo -n test; echo 1,2,3) | grep n >/dev/null
     then shar_n= shar_c='
'
     else shar_n=-n shar_c= ; fi
else shar_n= shar_c='\c' ; fi
f=shar-touch.$$
st1=200112312359.59
st2=123123592001.59
st2tr=123123592001.5 # old SysV 14-char limit
st3=1231235901

if   touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
     test ! -f ${st1} && test -f ${f}; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'

elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
     test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'

elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
     test ! -f ${st3} && test -f ${f}; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'

else
  shar_touch=:
  echo
  ${echo} 'WARNING: not restoring timestamps.  Consider getting and
installing GNU '\''touch'\'', distributed in GNU coreutils...'
  echo
fi
rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
#
if test ! -d ${lock_dir} ; then :
else ${echo} "lock directory ${lock_dir} exists"
     exit 1
fi
if mkdir ${lock_dir}
then ${echo} "x - created lock directory ${lock_dir}."
else ${echo} "x - failed to create lock directory ${lock_dir}."
     exit 1
fi
# ============= flag/Makefile ==============
if test ! -d 'flag'; then
  mkdir 'flag'
if test $? -eq 0
then ${echo} "x - created directory flag."
else ${echo} "x - failed to create directory flag."
     exit 1
fi
fi
if test -n "${keep_file}" && test -f 'flag/Makefile'
then
${echo} "x - SKIPPING flag/Makefile (file already exists)"

else
${echo} "x - extracting flag/Makefile (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'flag/Makefile' &&
# $FreeBSD$
X
PORTNAME=	flag
PORTVERSION=	1.0.4
CATEGORIES=	misc
MASTER_SITES=	http://git.cyberleo.net/releases/${PORTNAME}/
EXTRACT_SUFX=	.tgz
X
MAINTAINER=	cyberleo@cyberleo.net
COMMENT=	Turn the hostname into a colourful and visually distinctive ansi flag
X
NO_BUILD=	yes
X
OPTIONS_DEFINE=	BASH
BASH_DESC=	Install include for Bash prompt
OPTIONS_DEFAULT=BASH
X
PLIST_FILES=	bin/flag etc/rc.d/update-issue
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MBASH}
PLIST_FILES+=	share/flag/bash_prompt.sh
PLIST_DIRS+=	share/flag
X.endif
X
do-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
X	${INSTALL_SCRIPT} ${WRKSRC}/update-issue ${STAGEDIR}${PREFIX}/etc/rc.d/update-issue
X.if ${PORT_OPTIONS:MBASH}
X	${MKDIR} ${STAGEDIR}${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
X.endif
X
X.include <bsd.port.mk>
SHAR_EOF
  (set 20 13 10 20 03 01 19 'flag/Makefile'
   eval "${shar_touch}") && \
  chmod 0644 'flag/Makefile'
if test $? -ne 0
then ${echo} "restore of flag/Makefile failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'flag/Makefile': 'MD5 check failed'
       ) << \SHAR_EOF
08b94579a975bb078f21d65f93f618be  flag/Makefile
SHAR_EOF

else
test `LC_ALL=C wc -c < 'flag/Makefile'` -ne 848 && \
  ${echo} "restoration warning:  size of 'flag/Makefile' is not 848"
  fi
fi
# ============= flag/distinfo ==============
if test ! -d 'flag'; then
  mkdir 'flag'
if test $? -eq 0
then ${echo} "x - created directory flag."
else ${echo} "x - failed to create directory flag."
     exit 1
fi
fi
if test -n "${keep_file}" && test -f 'flag/distinfo'
then
${echo} "x - SKIPPING flag/distinfo (file already exists)"

else
${echo} "x - extracting flag/distinfo (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'flag/distinfo' &&
SHA256 (flag-1.0.4.tgz) = a37665575ebceefd04279d1b6b9cf917b8f912961362adb5e6e9c0b5a78dcec5
SIZE (flag-1.0.4.tgz) = 5713
SHAR_EOF
  (set 20 13 10 20 03 02 07 'flag/distinfo'
   eval "${shar_touch}") && \
  chmod 0644 'flag/distinfo'
if test $? -ne 0
then ${echo} "restore of flag/distinfo failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'flag/distinfo': 'MD5 check failed'
       ) << \SHAR_EOF
78124a2eaccd0d3d9c328fb4b44bca20  flag/distinfo
SHAR_EOF

else
test `LC_ALL=C wc -c < 'flag/distinfo'` -ne 120 && \
  ${echo} "restoration warning:  size of 'flag/distinfo' is not 120"
  fi
fi
# ============= flag/pkg-descr ==============
if test -n "${keep_file}" && test -f 'flag/pkg-descr'
then
${echo} "x - SKIPPING flag/pkg-descr (file already exists)"

else
${echo} "x - extracting flag/pkg-descr (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'flag/pkg-descr' &&
flag
X
Produces a neat little ansi colour 'flag' based off a hash of the machine's
hostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
identify a machine, at a glance. Useful for placing into /etc/issue or your
bash prompt, so that you don't send stupid commands to the wrong machine.
X
WWW: http://git.cyberleo.net/CDN/flag.git
SHAR_EOF
  (set 20 13 10 20 02 49 30 'flag/pkg-descr'
   eval "${shar_touch}") && \
  chmod 0644 'flag/pkg-descr'
if test $? -ne 0
then ${echo} "restore of flag/pkg-descr failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'flag/pkg-descr': 'MD5 check failed'
       ) << \SHAR_EOF
04dd5feeffa4b9f7423203f880acb74f  flag/pkg-descr
SHAR_EOF

else
test `LC_ALL=C wc -c < 'flag/pkg-descr'` -ne 351 && \
  ${echo} "restoration warning:  size of 'flag/pkg-descr' is not 351"
  fi
fi
if rm -fr ${lock_dir}
then ${echo} "x - removed lock directory ${lock_dir}."
else ${echo} "x - failed to remove lock directory ${lock_dir}."
     exit 1
fi
exit 0


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Oct 20 19:14:17 UTC 2013 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183117 

From: CyberLeo Kitsana <cyberleo@cyberleo.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/183117: New port: misc/flag - Produce a colourful flag from
 the machine hostname
Date: Sun, 05 Jan 2014 06:08:20 -0600

 This is a multi-part message in MIME format.
 --------------010301060502000601020503
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Updated to version 1.0.5.
 
 -- 
 Fuzzy love,
 -CyberLeo
 Technical Administrator
 CyberLeo.Net Webhosting
 http://www.CyberLeo.Net
 <CyberLeo@CyberLeo.Net>
 
 Furry Peace! - http://www.fur.com/peace/
 
 --------------010301060502000601020503
 Content-Type: application/x-shar;
  name="misc_flag.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="misc_flag.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	misc
 #	misc/flag
 #	misc/flag/distinfo
 #	misc/flag/pkg-descr
 #	misc/flag/Makefile
 #
 echo c - misc
 mkdir -p misc > /dev/null 2>&1
 echo c - misc/flag
 mkdir -p misc/flag > /dev/null 2>&1
 echo x - misc/flag/distinfo
 sed 's/^X//' >misc/flag/distinfo << '81626c0bccd760db51888206e7f9d3e8'
 XSHA256 (flag-1.0.5.tgz) = 8db0d4a40a9c119689275cbf00508c4af96553c3a7e035e9836d533d22f8d98f
 XSIZE (flag-1.0.5.tgz) = 5683
 81626c0bccd760db51888206e7f9d3e8
 echo x - misc/flag/pkg-descr
 sed 's/^X//' >misc/flag/pkg-descr << 'be3b4e673677df1f2086a74511253943'
 Xflag
 X
 XProduces a neat little ansi colour 'flag' based off a hash of the machine's
 Xhostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
 Xidentify a machine, at a glance. Useful for placing into /etc/issue or your
 Xbash prompt, so that you don't send stupid commands to the wrong machine.
 X
 XWWW: http://git.cyberleo.net/CDN/flag.git
 be3b4e673677df1f2086a74511253943
 echo x - misc/flag/Makefile
 sed 's/^X//' >misc/flag/Makefile << 'cb3b0092a91d389cbde54d4f79c0b1c8'
 X# $FreeBSD$
 X
 XPORTNAME=	flag
 XPORTVERSION=	1.0.5
 XCATEGORIES=	misc
 XMASTER_SITES=	http://git.cyberleo.net/releases/${PORTNAME}/
 XEXTRACT_SUFX=	.tgz
 X
 XMAINTAINER=	cyberleo@cyberleo.net
 XCOMMENT=	Turn the hostname into a colourful and visually distinctive ansi flag
 X
 XNO_BUILD=	yes
 X
 XOPTIONS_DEFINE=	BASH
 XBASH_DESC=	Install include for Bash prompt
 XOPTIONS_DEFAULT=BASH
 X
 XPLIST_FILES=	bin/flag etc/rc.d/update-issue
 X
 X.include <bsd.port.options.mk>
 X
 X.if ${PORT_OPTIONS:MBASH}
 XPLIST_FILES+=	share/flag/bash_prompt.sh
 XPLIST_DIRS+=	share/flag
 X.endif
 X
 Xdo-install:
 X	${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
 X	${INSTALL_SCRIPT} ${WRKSRC}/update-issue ${STAGEDIR}${PREFIX}/etc/rc.d/update-issue
 X.if ${PORT_OPTIONS:MBASH}
 X	${MKDIR} ${STAGEDIR}${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
 X.endif
 X
 X.include <bsd.port.mk>
 cb3b0092a91d389cbde54d4f79c0b1c8
 exit
 
 
 --------------010301060502000601020503--
State-Changed-From-To: open->feedback 
State-Changed-By: amdmi3 
State-Changed-When: Tue Apr 22 20:39:05 UTC 2014 
State-Changed-Why:  
update-issue you install as rc.d script is not an rc.d script actually 
and seems to have nothing to do with FreeBSD; also the script should 
likely be modified to look for ${PREFIX}/etc/flag, not /etc/flag 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183117 

From: CyberLeo Kitsana <cyberleo@cyberleo.net>
To: bug-followup@FreeBSD.org, CyberLeo <cyberleo@cyberleo.net>
Cc:  
Subject: Re: ports/183117: New port: misc/flag - Produce a colourful flag
 from the machine hostname
Date: Wed, 23 Apr 2014 23:39:24 -0500

 This is a multi-part message in MIME format.
 --------------010607000308010604030608
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Thanks for the suggestions. Does this look better?
 
 -- 
 Fuzzy love,
 -CyberLeo
 Technical Administrator
 CyberLeo.Net Webhosting
 http://www.CyberLeo.Net
 <CyberLeo@CyberLeo.Net>
 
 Furry Peace! - http://www.fur.com/peace/
 
 --------------010607000308010604030608
 Content-Type: application/x-shar;
  name="misc_flag.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="misc_flag.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	misc
 #	misc/flag
 #	misc/flag/Makefile
 #	misc/flag/distinfo
 #	misc/flag/pkg-descr
 #
 echo c - misc
 mkdir -p misc > /dev/null 2>&1
 echo c - misc/flag
 mkdir -p misc/flag > /dev/null 2>&1
 echo x - misc/flag/Makefile
 sed 's/^X//' >misc/flag/Makefile << 'cb3b0092a91d389cbde54d4f79c0b1c8'
 X# $FreeBSD$
 X
 XPORTNAME=	flag
 XPORTVERSION=	1.0.5
 XCATEGORIES=	misc
 XMASTER_SITES=	http://git.cyberleo.net/releases/${PORTNAME}/
 XEXTRACT_SUFX=	.tgz
 X
 XMAINTAINER=	cyberleo@cyberleo.net
 XCOMMENT=	Turn the hostname into a colourful and visually distinctive ansi flag
 X
 XNO_BUILD=	yes
 X
 XOPTIONS_DEFINE=	BASH
 XBASH_DESC=	Install include for Bash prompt
 XOPTIONS_DEFAULT=BASH
 X
 XPLIST_FILES=	bin/flag
 X
 X.include <bsd.port.options.mk>
 X
 X.if ${PORT_OPTIONS:MBASH}
 XPLIST_FILES+=	share/flag/bash_prompt.sh
 XPLIST_DIRS+=	share/flag
 X.endif
 X
 Xpost-extract:
 X	${REINPLACE_CMD} -e 's@"/etc/flag"@"${PREFIX}/etc/flag"@' ${WRKSRC}/flag
 X
 Xdo-install:
 X	${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
 X.if ${PORT_OPTIONS:MBASH}
 X	${MKDIR} ${STAGEDIR}${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
 X.endif
 X
 X.include <bsd.port.mk>
 cb3b0092a91d389cbde54d4f79c0b1c8
 echo x - misc/flag/distinfo
 sed 's/^X//' >misc/flag/distinfo << '81626c0bccd760db51888206e7f9d3e8'
 XSHA256 (flag-1.0.5.tgz) = 8db0d4a40a9c119689275cbf00508c4af96553c3a7e035e9836d533d22f8d98f
 XSIZE (flag-1.0.5.tgz) = 5683
 81626c0bccd760db51888206e7f9d3e8
 echo x - misc/flag/pkg-descr
 sed 's/^X//' >misc/flag/pkg-descr << 'be3b4e673677df1f2086a74511253943'
 Xflag
 X
 XProduces a cute little ansi colour 'flag' based off a hash of the machine's
 Xhostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
 Xidentify a machine, at a glance. Useful for placing into /etc/issue or your
 Xbash prompt, so that you don't send stupid commands to the wrong machine.
 X
 XWWW: http://git.cyberleo.net/CDN/flag.git
 be3b4e673677df1f2086a74511253943
 exit
 
 
 --------------010607000308010604030608--
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sun May 25 07:34:22 UTC 2014 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183117 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183117: commit references a PR
Date: Sun, 25 May 2014 07:34:32 +0000 (UTC)

 Author: miwi
 Date: Sun May 25 07:34:26 2014
 New Revision: 355136
 URL: http://svnweb.freebsd.org/changeset/ports/355136
 QAT: https://qat.redports.org/buildarchive/r355136/
 
 Log:
   flag
   
   Produces a cute little ansi colour 'flag' based off a hash of the machine's
   hostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
   identify a machine, at a glance. Useful for placing into /etc/issue or your
   bash prompt, so that you don't send stupid commands to the wrong machine.
   
   WWW: http://git.cyberleo.net/CDN/flag.git
   
   PR:		ports/183117
   Submitted by:	cyberleo@cyberleo.net
 
 Added:
   head/misc/flag/
   head/misc/flag/Makefile   (contents, props changed)
   head/misc/flag/distinfo   (contents, props changed)
   head/misc/flag/pkg-descr   (contents, props changed)
 Modified:
   head/misc/Makefile
 
 Modified: head/misc/Makefile
 ==============================================================================
 --- head/misc/Makefile	Sun May 25 07:33:58 2014	(r355135)
 +++ head/misc/Makefile	Sun May 25 07:34:26 2014	(r355136)
 @@ -91,6 +91,7 @@
      SUBDIR += figlet-fonts
      SUBDIR += findutils
      SUBDIR += firestring
 +    SUBDIR += flag
      SUBDIR += floatator
      SUBDIR += fortune-mod-bible
      SUBDIR += fortune-mod-bofh
 
 Added: head/misc/flag/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/misc/flag/Makefile	Sun May 25 07:34:26 2014	(r355136)
 @@ -0,0 +1,37 @@
 +# $FreeBSD$
 +
 +PORTNAME=	flag
 +PORTVERSION=	1.0.5
 +CATEGORIES=	misc
 +MASTER_SITES=	http://git.cyberleo.net/releases/${PORTNAME}/
 +EXTRACT_SUFX=	.tgz
 +
 +MAINTAINER=	cyberleo@cyberleo.net
 +COMMENT=	Turn the hostname into a colourful and visually distinctive ansi flag
 +
 +NO_BUILD=	yes
 +
 +OPTIONS_DEFINE=	BASH
 +BASH_DESC=	Install include for Bash prompt
 +OPTIONS_DEFAULT=BASH
 +
 +PLIST_FILES=	bin/flag
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MBASH}
 +PLIST_FILES+=	share/flag/bash_prompt.sh
 +PLIST_DIRS+=	share/flag
 +.endif
 +
 +post-extract:
 +	${REINPLACE_CMD} -e 's@"/etc/flag"@"${PREFIX}/etc/flag"@' ${WRKSRC}/flag
 +
 +do-install:
 +	${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
 +.if ${PORT_OPTIONS:MBASH}
 +	${MKDIR} ${STAGEDIR}${DATADIR}
 +	${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
 +.endif
 +
 +.include <bsd.port.mk>
 
 Added: head/misc/flag/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/misc/flag/distinfo	Sun May 25 07:34:26 2014	(r355136)
 @@ -0,0 +1,2 @@
 +SHA256 (flag-1.0.5.tgz) = 8db0d4a40a9c119689275cbf00508c4af96553c3a7e035e9836d533d22f8d98f
 +SIZE (flag-1.0.5.tgz) = 5683
 
 Added: head/misc/flag/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/misc/flag/pkg-descr	Sun May 25 07:34:26 2014	(r355136)
 @@ -0,0 +1,8 @@
 +flag
 +
 +Produces a cute little ansi colour 'flag' based off a hash of the machine's
 +hostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
 +identify a machine, at a glance. Useful for placing into /etc/issue or your
 +bash prompt, so that you don't send stupid commands to the wrong machine.
 +
 +WWW: http://git.cyberleo.net/CDN/flag.git
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
