Icon again, the corresponding library of useful/useless programs.
This commit is contained in:
parent
bdea9e92b1
commit
c82d7eb030
53
lang/icon_lib/Makefile
Normal file
53
lang/icon_lib/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# Icon library port
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/10/02 17:11:44 espie Exp $
|
||||
|
||||
DISTNAME=icon_lib-9.3.1
|
||||
DIST_SUBDIR=icon
|
||||
|
||||
CATEGORIES=lang
|
||||
|
||||
MAINTAINER=espie@openbsd.org
|
||||
|
||||
# if you really want, the ipl.tgz file holds precompiled u1/u2 files
|
||||
# however, you will still have to grab the source for the necessary
|
||||
# includes, especially for the graphics API.
|
||||
# Anyway, since source is available, using pre-compiled binaries is not
|
||||
# OpenBSD policy...
|
||||
|
||||
MASTER_SITES=
|
||||
DISTFILES=bipl.tgz gipl.tgz info.tgz
|
||||
USE_X11=yes
|
||||
WRKSRC=${WRKDIR}
|
||||
|
||||
MASTER_SITES=ftp://ftp.cs.arizona.edu:/icon/library/
|
||||
|
||||
BUILD_DEPENDS=${PREFIX}/bin/icont:${PORTSDIR}/lang/icon
|
||||
|
||||
# temporary values for building programs
|
||||
IPATH=${WRKSRC}/gprocs ${WRKSRC}/procs
|
||||
LPATH=${WRKSRC}/gincl ${WRKSRC}/incl
|
||||
BUILDENV=IPATH="${IPATH}" LPATH="${LPATH}"; export IPATH LPATH;
|
||||
|
||||
IPL=${PREFIX}/share/ipl
|
||||
|
||||
do-build:
|
||||
# first build library
|
||||
${BUILDENV} cd ${WRKSRC} && /bin/sh Ucode && /bin/sh Ugcode
|
||||
# then build programs using library
|
||||
${BUILDENV} cd ${WRKSRC} && /bin/sh Icode && /bin/sh Igcode
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${IPL}/ucode
|
||||
${INSTALL_DATA} ${WRKSRC}/procs/*.u[12] ${IPL}/ucode
|
||||
${INSTALL_DATA} ${WRKSRC}/gprocs/*.u[12] ${IPL}/ucode
|
||||
${INSTALL_DATA_DIR} ${IPL}/incl
|
||||
${INSTALL_DATA} ${WRKSRC}/incl/* ${IPL}/incl
|
||||
${INSTALL_DATA_DIR} ${IPL}/gincl
|
||||
${INSTALL_DATA} ${WRKSRC}/gincl/* ${IPL}/gincl
|
||||
${INSTALL_PROGRAM_DIR} ${IPL}/bin
|
||||
# we separate icon sample program from the rest of the world, especially
|
||||
# as we can share them between architectures
|
||||
find ${WRKSRC}/progs -type f -perm -a+x -exec ${INSTALL_SCRIPT} {} ${IPL}/bin \;
|
||||
find ${WRKSRC}/gprogs -type f -perm -a+x -exec ${INSTALL_SCRIPT} {} ${IPL}/bin \;
|
||||
|
||||
.include <bsd.port.mk>
|
3
lang/icon_lib/files/md5
Normal file
3
lang/icon_lib/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (icon/bipl.tgz) = 3abae41cfa110249df72f05cd1cbf33a
|
||||
MD5 (icon/gipl.tgz) = fb7e9ffe09178f4f0a7adee6ee327c60
|
||||
MD5 (icon/info.tgz) = 44ba8bccde1fad56f791ac0f2fdef928
|
1
lang/icon_lib/pkg/COMMENT
Normal file
1
lang/icon_lib/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
a set of useful and interesting programs for Icon
|
3
lang/icon_lib/pkg/DESCR
Normal file
3
lang/icon_lib/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Icon normally comes with this program library, that ranges from simple
|
||||
example programs to parts of the graphics interface to X, which actually
|
||||
can be said to be a part of Icon, proper
|
1035
lang/icon_lib/pkg/PLIST
Normal file
1035
lang/icon_lib/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user