1997-09-13 16:16:45 -04:00
|
|
|
# New ports collection makefile for: thot
|
|
|
|
# Date created: 1 Aug 1997
|
|
|
|
# Whom: Pedro Giffuni (orig)
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1997-09-13 16:16:45 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:25:54 -04:00
|
|
|
PORTNAME= thoteditor
|
|
|
|
PORTVERSION= 2.1e
|
1997-09-13 16:16:45 -04:00
|
|
|
CATEGORIES= editors www
|
1999-02-12 18:52:50 -05: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 00:46:56 -04: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-29 20:48:43 -05:00
|
|
|
ftp://ftp.agix.net/pub/infosystems/www/clients/amaya/thot/
|
1999-02-12 18:52:50 -05:00
|
|
|
MASTER_SITE_SUBDIR= apps/editors/X/thot
|
2000-04-13 20:25:54 -04:00
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
1997-09-13 16:16:45 -04:00
|
|
|
|
1999-09-21 00:57:21 -04:00
|
|
|
MAINTAINER= chuckr@FreeBSD.org
|
1997-09-13 16:16:45 -04:00
|
|
|
|
1999-09-25 14:05:59 -04:00
|
|
|
THOT_SUBDIR= Target
|
2000-11-07 18:28:20 -05:00
|
|
|
USE_MOTIF= yes
|
1999-09-25 14:05:59 -04:00
|
|
|
WRKSRC= $(WRKDIR)/Thot/$(THOT_SUBDIR)
|
1997-09-13 16:16:45 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1999-09-22 00:36:58 -04:00
|
|
|
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu
|
1997-09-13 16:16:45 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= all schemas
|
1999-10-03 23:58:46 -04:00
|
|
|
MAN1= cextract.1
|
|
|
|
MAN5= cextrc.5
|
1997-09-13 16:16:45 -04:00
|
|
|
|
1999-09-22 00:36:58 -04:00
|
|
|
do-configure:
|
1999-10-03 23:58:46 -04: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 14:05:59 -04:00
|
|
|
(cd $(WRKSRC);../configure $(CONFIGURE_ARGS))
|
1999-09-22 00:36:58 -04:00
|
|
|
|
1999-09-27 12:40:53 -04: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 16:16:45 -04:00
|
|
|
post-extract:
|
1999-09-25 14:05:59 -04:00
|
|
|
(cd $(WRKDIR)/Thot;$(MKDIR) $(THOT_SUBDIR))
|
1997-09-13 16:16:45 -04:00
|
|
|
|
1998-12-21 16:08:12 -05:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/thot/doc
|
1999-09-27 12:40:53 -04:00
|
|
|
$(SED) -e "s&%%PREFIX%%&$(PREFIX)&" < $(FILESDIR)/thoteditor > $(WRKDIR)/thoteditor
|
|
|
|
$(INSTALL_SCRIPT) $(WRKDIR)/thoteditor $(PREFIX)/bin
|
1999-10-03 23:58:46 -04:00
|
|
|
$(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextrc.5 $(PREFIX)/man/man5
|
1999-10-04 00:06:20 -04:00
|
|
|
$(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextract.man $(PREFIX)/man/man1/cextract.1
|
1998-12-21 16:08:12 -05:00
|
|
|
|
1997-09-13 16:16:45 -04:00
|
|
|
.include <bsd.port.mk>
|