initial import of belt-1.18:

--
Belt is a small menubar that works as the "belt" normally found in MacOS.
It has a lot of configuration options and can use multiple configuration
files if you want several belts.

WWW: http://www.stacken.kth.se/~maxz/programming/perl/index.html

lebel@ ok
This commit is contained in:
heko 2001-11-11 14:11:30 +00:00
parent 0e36dadb66
commit b5e2502b57
5 changed files with 87 additions and 0 deletions

49
x11/belt/Makefile Normal file
View File

@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/11/11 14:11:30 heko Exp $
COMMENT= "Small menubar for X11 written in Perl/Tk"
V= 1.18
DISTNAME= belt-${V}
CATEGORIES= x11
NEED_VERSION= 1.482
HOMEPAGE= http://www.stacken.kth.se/~maxz/programming/perl/index.html\#belt
MASTER_SITES= ${HOMEPAGE:S/index.html\#belt//}
MAINTAINER= Heikki Korpela <heko@openbsd.org>
DISTFILES= belt-${V} menu.conf.EXAMPLE belticons.tar.gz
DIST_SUBDIR= belt
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
WRKDIST= ${WRKDIR}
EXTRACT_ONLY= belticons.tar.gz
RUN_DEPENDS= ${LOCALBASE}/libdata/perl5/site_perl/i386-openbsd/Tk.pm::x11/p5-Tk
USE_X11= Yes
NO_REGRESS= Yes
post-extract:
@cp ${FULLDISTDIR}/belt-${V} ${WRKDIR}/
post-patch:
@perl -pi -e 's,/usr/local/belt/icons,${PREFIX}/share/belt/icons,g; ' \
-e 's,/usr/local/bin/perl,/usr/bin/perl,' \
${WRKDIR}/belt-${V}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/belt-${V} ${PREFIX}/bin/belt
/usr/bin/pod2man ${WRKDIR}/belt-${V} > ${WRKDIR}/belt.1
${INSTALL_MAN} ${WRKDIR}/belt.1 ${MANPREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/belt
${INSTALL_DATA} ${FULLDISTDIR}/menu.conf.EXAMPLE ${PREFIX}/share/examples/belt/
${INSTALL_DATA_DIR} ${PREFIX}/share/belt/icons
${INSTALL_DATA} ${WRKDIR}/*.gif ${PREFIX}/share/belt/icons
.include <bsd.port.mk>

9
x11/belt/files/md5 Normal file
View File

@ -0,0 +1,9 @@
MD5 (belt/belt-1.18) = 7de5022129e8aafd7cb24d7167c6a1ac
MD5 (belt/belticons.tar.gz) = 7686bc036a4ae6e5fedc8ff22d83c4bf
MD5 (belt/menu.conf.EXAMPLE) = d3c46ceea2a6f19ba0d8677555755110
RMD160 (belt/belt-1.18) = 411645a891452ff8d43850c95b0f9a181103b762
RMD160 (belt/belticons.tar.gz) = d136af9d28f52c30fe00cc477b805793be6476d2
RMD160 (belt/menu.conf.EXAMPLE) = ea1d23fa0d3b71a20c36dfff4889cb2fc1c7dc7d
SHA1 (belt/belt-1.18) = 61e3a395410910122c10d0ea92596e7110588f69
SHA1 (belt/belticons.tar.gz) = 9c374c64c8016cb1c64da0661a2eb74a4b124331
SHA1 (belt/menu.conf.EXAMPLE) = 2d2a70a43102ab03f08587ad2273983b5e5cd34b

5
x11/belt/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Belt is a small menubar that works as the "belt" normally found in
MacOS. It has a lot of configuration options and can use multiple
configuration files if you want several belts.
WWW: ${HOMEPAGE}

8
x11/belt/pkg/MESSAGE Normal file
View File

@ -0,0 +1,8 @@
+---------------
| A sample configuration file has been installed as
|
| ${PREFIX}/share/examples/belt/menu.conf.EXAMPLE
|
| You can copy it to ~/.beltconf/menu.conf and change it to suit your
| needs.
+---------------

16
x11/belt/pkg/PLIST Normal file
View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/11/11 14:11:30 heko Exp $
bin/belt
man/man1/belt.1
share/belt/icons/DH.gif
share/belt/icons/DS.gif
share/belt/icons/LH.gif
share/belt/icons/LS.gif
share/belt/icons/RH.gif
share/belt/icons/RS.gif
share/belt/icons/UH.gif
share/belt/icons/US.gif
share/belt/icons/noicon.gif
share/examples/belt/menu.conf.EXAMPLE
@dirrm share/examples/belt
@dirrm share/belt/icons
@dirrm share/belt