root/pbibuild/modules/commandandconquer-NOD/build.sh

Revision 2663, 0.8 kB (checked in by kris, 10 days ago)

Updated commandandqonueror-NOD to change the version automatically

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# PBI building script
3# This will run after your port build is complete
4# Build your PBI here, and exit 0 on success, or exit 1 on failure.
5##############################################################################
6# Available Variables
7#    PBIDIR = The location of where you can populate your PBI directory
8# MODULEDIR = The location of the module directory for this PBI
9#   PORTVER = Version number of the port we used to build
10##############################################################################
11
12# Save the right version number in the removepbi.sh script
13sed -e "s,CHANGEME,${PORTVER},g" ${PBIDIR}/bin/nod > /tmp/nod
14mv /tmp/nod ${PBIDIR}/bin/nod
15chmod 755 ${PBIDIR}/bin/nod
16
17# Fetch the ISO from the web for inclusion into this PBI
18cd ${PBIDIR}/NOD/drive_c/windows/temp
19fetch http://www.pcbsd.org/~kris/autobuildpkgs/NOD95.iso
Note: See TracBrowser for help on using the browser.