-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add proper DEINSTALL/INSTALL scripts - use new framework for PLISTs - add @comment with RCS id to PLIST - better DESCR and add HOMEPAGE
- Loading branch information
Brad Smith
committed
Sep 23, 2000
1 parent
4840a96
commit c4b4087
Showing
7 changed files
with
128 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
# $OpenBSD: Makefile,v 1.12 2000/06/11 08:51:10 fgsch Exp $ | ||
# $OpenBSD: Makefile,v 1.13 2000/09/23 23:55:52 brad Exp $ | ||
|
||
DISTNAME= libgii-0.6 | ||
CATEGORIES= graphics | ||
NEED_VERSION= 1.301 | ||
DISTNAME= libgii-0.6 | ||
CATEGORIES= graphics | ||
NEED_VERSION= 1.330 | ||
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/2_0_beta_2.1/ | ||
|
||
MAINTAINER= [email protected] | ||
MAINTAINER= Todd Fries <[email protected]> | ||
|
||
PERMIT_PACKAGE_CDROM= Yes | ||
PERMIT_PACKAGE_FTP= Yes | ||
PERMIT_DISTFILES_CDROM= Yes | ||
PERMIT_DISTFILES_FTP= Yes | ||
|
||
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/2_0_beta_2.1/ | ||
|
||
USE_X11= Yes | ||
USE_GMAKE= Yes | ||
CONFIGURE_STYLE= gnu | ||
CONFIGURE_STYLE= gnu | ||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} | ||
CONFIGURE_ARGS+= --enable-static | ||
CONFIGURE_ARGS+= --enable-static --enable-mutexes="int" | ||
|
||
DOCDIR= ${PREFIX}/share/doc/gii | ||
DOCS= README | ||
|
||
post-install: | ||
${INSTALL_DATA_DIR} ${DOCDIR} | ||
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} | ||
${INSTALL_DATA} ${WRKSRC}/libgii.conf ${DOCDIR}/libgii.conf.example | ||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gii | ||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gii | ||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/gii | ||
${INSTALL_DATA} ${WRKSRC}/libgii.conf | ||
${PREFIX}/share/examples/gii/libgii.conf.example | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
# $OpenBSD: DEINSTALL,v 1.1 2000/09/23 23:55:52 brad Exp $ | ||
# | ||
# gii de-installation | ||
|
||
set -e | ||
PATH=/bin:/usr/bin:/sbin:/usr/sbin | ||
PREFIX=${PKG_PREFIX:-/usr/local} | ||
CONFIG_DIR=${SYSCONFDIR}/ggi | ||
|
||
if [ -d $CONFIG_DIR ]; then | ||
echo | ||
echo "+---------------" | ||
echo "| To completely deinstall the $1 package you need to perform" | ||
echo "| this step as root:" | ||
echo "|" | ||
echo "| rm -rf $CONFIG_DIR" | ||
echo "|" | ||
echo "| Do not do this if you plan on re-installing $1" | ||
echo "| at some future time." | ||
echo "+---------------" | ||
echo | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
LibGII README | ||
============= | ||
|
||
LibGII (General Input Interface) is intended to be to input what our LibGGI | ||
(General Graphics Interface) library is to graphics. | ||
|
||
|
@@ -15,33 +12,4 @@ the mhub utility found in the demos directory. mhub is a mouse event repeater | |
and converter. See mhub(1) and the files doc/env.txt and doc/input.txt for | ||
more info. | ||
|
||
|
||
How to install and use | ||
====================== | ||
|
||
See the files INSTALL and INSTALL.autoconf for installation instructions. | ||
|
||
Demos are found in the programs/demos sub directory. They are built | ||
automatically. | ||
|
||
|
||
The GGI mailing list | ||
==================== | ||
|
||
To subscribe to the GGI mailing list, send a message with the word | ||
"subscribe" in the Subject: field to [email protected] | ||
To unsubscribe from the GGI mailing list, send a message with the word | ||
"unsubscribe" in the Subject: field to [email protected] | ||
|
||
This is a high volume mailing list with well over 1000 messages a month! | ||
So be prepared. | ||
|
||
|
||
GGI resources | ||
============= | ||
|
||
Web site: http://www.ggi-project.org/ | ||
FTP site: ftp://ftp.ggi-project.org/pub/ggi | ||
|
||
XGGI home: http://www.stacken.kth.se/~mackan/ggi/xggi/ | ||
(XGGI is an X server which runs on LibGGI) | ||
WWW: ${HOMEPAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
#!/bin/sh | ||
# $OpenBSD: INSTALL,v 1.1 2000/09/23 23:55:52 brad Exp $ | ||
# | ||
# Pre/post-installation setup of gii | ||
|
||
# exit on errors, use a sane path and install prefix | ||
# | ||
set -e | ||
PATH=/bin:/usr/bin:/sbin:/usr/sbin | ||
PREFIX=${PKG_PREFIX:-/usr/local} | ||
CONFIG_DIR=${SYSCONFDIR}/ggi | ||
CONFIG_FILE=$CONFIG_DIR/libgii.conf | ||
SAMPLE_CONFIG_FILE=$PREFIX/share/examples/gii/libgii.conf.example | ||
|
||
do_notice() | ||
{ | ||
echo | ||
echo "+---------------" | ||
echo "| The existing $1 configuration file, $CONFIG_FILE," | ||
echo "| has NOT been changed. You may want to compare it to the" | ||
echo "| current sample file, $SAMPLE_CONFIG_FILE," | ||
echo "| and update your configuration as needed." | ||
echo "+---------------" | ||
echo | ||
} | ||
|
||
do_install() | ||
{ | ||
install -d -o root -g wheel -m 755 $CONFIG_DIR | ||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_FILE $CONFIG_FILE | ||
echo | ||
echo "+---------------" | ||
echo "| The $1 configuration file, $CONFIG_FILE," | ||
echo "| has been installed. Please view this file and change" | ||
echo "| the configuration to meet your needs" | ||
echo "+---------------" | ||
echo | ||
|
||
} | ||
|
||
# verify proper execution | ||
# | ||
if [ $# -ne 2 ]; then | ||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 | ||
exit 1 | ||
fi | ||
|
||
# Verify/process the command | ||
# | ||
case $2 in | ||
PRE-INSTALL) | ||
: nothing to pre-install for this port | ||
;; | ||
POST-INSTALL) | ||
if [ ! -d $CONFIG_DIR ]; then | ||
do_install $1 | ||
elif [ ! -f $CONFIG_FILE ]; then | ||
do_install $1 | ||
else | ||
do_notice $1 | ||
fi | ||
;; | ||
*) | ||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@comment $OpenBSD: PFRAG.shared,v 1.1 2000/09/23 23:55:53 brad Exp $ | ||
lib/ggi/filter/mouse.so | ||
lib/ggi/filter/save.so | ||
lib/ggi/input/file.so | ||
lib/ggi/input/linux_mouse.so | ||
lib/ggi/input/mouse.so | ||
lib/ggi/input/null.so | ||
lib/ggi/input/spaceorb.so | ||
lib/ggi/input/stdin.so | ||
lib/ggi/input/x.so | ||
lib/ggi/input/xwin.so | ||
lib/libgg.so.0.6 | ||
lib/libgii.so.0.6 | ||
DYNLIBDIR(%B) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.