Subdirs, as port moved.
This commit is contained in:
parent
8f3f262939
commit
115a63b2cb
@ -1,44 +1,6 @@
|
||||
# $OpenBSD: Makefile,v 1.5 1999/07/13 20:55:39 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 1999/08/20 19:55:52 espie Exp $
|
||||
|
||||
DISTNAME= icon-9.3.2
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ftp://ftp.cs.arizona.edu:/icon/packages/unix/
|
||||
DIST_SUBDIR= icon
|
||||
DISTFILES= unix.tgz
|
||||
SUBDIR += interp
|
||||
SUBDIR += lib
|
||||
|
||||
MAINTAINER= espie@openbsd.org
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_X11= yes
|
||||
|
||||
SCRIPTS_ENV= ARCH="${MACHINE_ARCH}"
|
||||
MAKE_ENV= ARCH="${MACHINE_ARCH}"
|
||||
CONF_DIR= ${WRKSRC}/config/unix/openbsd
|
||||
|
||||
ALL_TARGET= Icon-icont
|
||||
|
||||
pre-configure:
|
||||
cp -R ${FILESDIR}/openbsd ${WRKSRC}/config/unix
|
||||
if [ -f ${CONF_DIR}/${ARCH}_rswitch.c ] ; then \
|
||||
${LN} -f ${CONF_DIR}/${ARCH}_rswitch.c ${CONF_DIR}/rswitch.c ;\
|
||||
else \
|
||||
touch ${CONF_DIR}/rswitch.c ;\
|
||||
fi
|
||||
|
||||
# We put a wrapper around icont for finding the library files when
|
||||
# they're installed
|
||||
# The icon manpage is available separately... I've included it along
|
||||
# with the package. Ludicrous to get through a ftp connexion for such
|
||||
# a small file...
|
||||
do-install:
|
||||
perl ${SCRIPTDIR}/mk_icont ${PREFIX} >${WRKSRC}/icont
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/icont ${PREFIX}/lib
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/iconx ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/rtt ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/icont ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${FILESDIR}/icon.1 ${PREFIX}/man/man1/icont.1
|
||||
cd ${PREFIX}/man/man1 && ln icont.1 iconx.1
|
||||
${INSTALL_DATA} ${WRKSRC}/bin/rt.h ${PREFIX}/include
|
||||
cd ${PREFIX}/bin && ${WRKSRC}/bin/patchstr ${PREFIX}/lib/icont ${PREFIX}/bin/iconx
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user