1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/thoteditor/Makefile
1999-09-27 16:40:53 +00:00

47 lines
1.5 KiB
Makefile

# New ports collection makefile for: thot
# Version required: 2.1e
# Date created: 1 Aug 1997
# Whom: Pedro Giffuni (orig)
#
# $FreeBSD$
#
DISTNAME= thoteditor-src-2.1e
PKGNAME= thoteditor-2.1
CATEGORIES= editors www
MASTER_SITES= ftp://ftp.inrialpes.fr/pub/opera/sources/thot/ \
${MASTER_SITE_SUNSITE} \
ftp://ftp.ruhr-uni-bochum.de/local/jk.collection/thot/ \
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/ \
ftp://ftp.agix.net/pub/infosystems/www/clients/amaya/thot/
MASTER_SITE_SUBDIR= apps/editors/X/thot
MAINTAINER= chuckr@FreeBSD.org
THOT_SUBDIR= Target
REQUIRES_MOTIF= yes
WRKSRC= $(WRKDIR)/Thot/$(THOT_SUBDIR)
REQUIRES_MOTIF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu
USE_GMAKE= yes
ALL_TARGET= all schemas
do-configure:
(cd $(WRKSRC);../configure $(CONFIGURE_ARGS))
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
post-extract:
(cd $(WRKDIR)/Thot;$(MKDIR) $(THOT_SUBDIR))
post-install:
${MKDIR} ${PREFIX}/share/thot/doc
$(SED) -e "s&%%PREFIX%%&$(PREFIX)&" < $(FILESDIR)/thoteditor > $(WRKDIR)/thoteditor
$(INSTALL_SCRIPT) $(WRKDIR)/thoteditor $(PREFIX)/bin
.include <bsd.port.mk>