1997-09-13 20:16:45 +00:00
|
|
|
# New ports collection makefile for: thot
|
|
|
|
# Date created: 1 Aug 1997
|
|
|
|
# Whom: Pedro Giffuni (orig)
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-09-13 20:16:45 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:25:54 +00:00
|
|
|
PORTNAME= thoteditor
|
|
|
|
PORTVERSION= 2.1e
|
1997-09-13 20:16:45 +00:00
|
|
|
CATEGORIES= editors www
|
1999-02-12 23:52:50 +00:00
|
|
|
MASTER_SITES= ftp://ftp.inrialpes.fr/pub/opera/sources/thot/ \
|
|
|
|
${MASTER_SITE_SUNSITE} \
|
|
|
|
ftp://ftp.ruhr-uni-bochum.de/local/jk.collection/thot/ \
|
1997-09-17 04:46:56 +00:00
|
|
|
ftp://ftp.uni-stuttgart.de/pub/comm/infosystems/www/clients/amaya/thot/ \
|
|
|
|
ftp://ftp.netlab.is.tsukuba.ac.jp/pub/editors/opera.inrialpes.fr/sources/thot/ \
|
1999-01-30 01:48:43 +00:00
|
|
|
ftp://ftp.agix.net/pub/infosystems/www/clients/amaya/thot/
|
1999-02-12 23:52:50 +00:00
|
|
|
MASTER_SITE_SUBDIR= apps/editors/X/thot
|
2000-04-14 00:25:54 +00:00
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
1997-09-13 20:16:45 +00:00
|
|
|
|
1999-09-21 04:57:21 +00:00
|
|
|
MAINTAINER= chuckr@FreeBSD.org
|
1997-09-13 20:16:45 +00:00
|
|
|
|
1999-09-25 18:05:59 +00:00
|
|
|
THOT_SUBDIR= Target
|
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
WRKSRC= $(WRKDIR)/Thot/$(THOT_SUBDIR)
|
1997-09-13 20:16:45 +00:00
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-09-22 04:36:58 +00:00
|
|
|
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu
|
1997-09-13 20:16:45 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= all schemas
|
1999-10-04 03:58:46 +00:00
|
|
|
MAN1= cextract.1
|
|
|
|
MAN5= cextrc.5
|
1997-09-13 20:16:45 +00:00
|
|
|
|
1999-09-22 04:36:58 +00:00
|
|
|
do-configure:
|
1999-10-04 03:58:46 +00:00
|
|
|
$(CP) $(WRKSRC)/../thot/Makefile.in $(WRKSRC)/../thot/Makefile.in.patched
|
|
|
|
$(SED) -e "s&%%MOTIFLIB%%&$(MOTIFLIB)&" <$(WRKSRC)/../thot/Makefile.in.patched >$(WRKSRC)/../thot/Makefile.in
|
1999-09-25 18:05:59 +00:00
|
|
|
(cd $(WRKSRC);../configure $(CONFIGURE_ARGS))
|
1999-09-22 04:36:58 +00:00
|
|
|
|
1999-09-27 16:40:53 +00:00
|
|
|
post-configure:
|
|
|
|
$(CP) $(WRKSRC)/../thotlib/base/registry.c $(WRKSRC)/../thotlib/base/registry.c.orig
|
|
|
|
$(SED) -e "s&%%PREFIX%%&$(PREFIX)&" <$(WRKSRC)/../thotlib/base/registry.c.orig >$(WRKSRC)/../thotlib/base/registry.c
|
|
|
|
|
1997-09-13 20:16:45 +00:00
|
|
|
post-extract:
|
1999-09-25 18:05:59 +00:00
|
|
|
(cd $(WRKDIR)/Thot;$(MKDIR) $(THOT_SUBDIR))
|
1997-09-13 20:16:45 +00:00
|
|
|
|
1998-12-21 21:08:12 +00:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/thot/doc
|
1999-09-27 16:40:53 +00:00
|
|
|
$(SED) -e "s&%%PREFIX%%&$(PREFIX)&" < $(FILESDIR)/thoteditor > $(WRKDIR)/thoteditor
|
|
|
|
$(INSTALL_SCRIPT) $(WRKDIR)/thoteditor $(PREFIX)/bin
|
1999-10-04 03:58:46 +00:00
|
|
|
$(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextrc.5 $(PREFIX)/man/man5
|
1999-10-04 04:06:20 +00:00
|
|
|
$(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextract.man $(PREFIX)/man/man1/cextract.1
|
1998-12-21 21:08:12 +00:00
|
|
|
|
1997-09-13 20:16:45 +00:00
|
|
|
.include <bsd.port.mk>
|