#!/usr/bin/env bash
# PORTBUILD generated by manup.mreschke.com on 2013-04-09 01:41:21

# Variables below can NOT reference other variables, manup will not expand them.
# So fileurl="http://manup.mreschke.net/nwq/profile-bsd-all/profile-bsd-all-1.0-16.tar.gz"
# Though all variables can be accessed in the build_* functions.
# The ONLY exception to this rule is the config=(...) array, where $prefix is available

# There are also more bash variables available than you see here.
# The /usr/local/lib/manup/functions.sh is sourced before this file. Check it out.
# There are also a few set by manup, like $prefix, $fakeroot, $is_installed, $installed_ver
# Visit http://manup.mreschke.com for details

# All variables and build_* function must be present, even if empty.
# Since a bash function cannot be empty, just put in some placeholder
# like null=nothing

# Remember that manup comes with auto-destdir (http://www.dwheeler.com/auto-destdir/).
# So you should use 'make-redir DESTDIR=$fakeroot install' instead of just make.

# These files will be overwritten with every 'manup sync' command.

name=profile-bsd-all
ver=1.0
rel=16
fileurl="http://manup.mreschke.net/nwq/profile-bsd-all/profile-bsd-all-1.0-16.tar.gz"
filesize=552
md5sum="a9517e79749b858c7c5faeef6dfde962"
dep=(profile-base profile-favcom)
depopt=()
configs=()
desc="Bash Profile for all version of BSD"

port_configure() {
	null=nothing
}
port_build() {
	null=nothing
}
port_fakeroot() {
	#tar cf - . | (cd $fakeroot ; tar -xf -)
	copy_to_fakeroot
}
port_preinstall() {
	null=nothing
}
port_install() {
	#cp -rf $fakeroot/. /
	install_files
}
port_postinstall() {
	chmod 644 /etc/nwq/profile.d/*
	notice "Refresh profile by running 're-source' or 'source /etc/nwq/profile.bashrc'"

}
port_preuninstall() {
	null=nothing
}
port_postuninstall() {
	null=nothing
}
