diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-09-16 16:59:23 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-09-16 16:59:23 +0000 |
commit | 5184e1c94c0526ad9dd4120e6a6e14277ae35376 (patch) | |
tree | 07cab4879e4bc7d31d14fdb6a31cf76f57ae8cf6 /editors/ted | |
parent | bf8144b1412a323e8387d9e80ae7fb86b8e1bec8 (diff) | |
download | FreeBSD-ports-5184e1c94c0526ad9dd4120e6a6e14277ae35376.zip FreeBSD-ports-5184e1c94c0526ad9dd4120e6a6e14277ae35376.tar.gz |
- Add USE_X_PREFIX
- Support CC/CFLAGS properly
- Add WWW: line- Add USE_X_PREFIX
PR: 30533
Submitted by: Ports Fury
Diffstat (limited to 'editors/ted')
-rw-r--r-- | editors/ted/Makefile | 33 | ||||
-rw-r--r-- | editors/ted/pkg-descr | 2 |
2 files changed, 21 insertions, 14 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile index b106f21..868d172 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -7,9 +7,10 @@ PORTNAME= ted PORTVERSION= 2.10 +PORTREVISION= 1 CATEGORIES= editors textproc print MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ -DISTNAME= ted-${PORTVERSION}.src +EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org @@ -18,7 +19,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} + +USE_X_PREFIX= yes USE_MOTIF= yes +GNU_CONFIGURE= yes +CONFIGURE_WRKSRC= ${WRKSRC}/Ted +CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" +CONFIGURE_ARGS= --with-MOTIF ALL_TARGET= compile.shared AFMDIR= ${PREFIX}/share/Ted/afm @@ -34,22 +41,20 @@ post-patch: -e 's,/usr/local/ind,${INDDIR},' \ -e 's,/usr/local/info,${INFODIR},' \ Ted.ad.sample >Ted - for d in ${WRKSRC}/Ted ${WRKSRC}/appFrame; do \ - cd $$d && \ - ${MV} -f config.h.in config.h.in.bak && \ - ${ECHO} '#define PREFIX "${PREFIX}"' >config.h.in && \ - ${ECHO} '#define INFODIR "${INFODIR}"' >>config.h.in && \ - ${ECHO} '#define INDDIR "${INDDIR}"' >>config.h.in && \ - ${ECHO} '#define AFMDIR "${AFMDIR}"' >>config.h.in && \ - ${CAT} config.h.in.bak >>config.h.in; \ - done + ${PERL} -pi -e 's|/usr/apps|${LOCALBASE}|g' ${WRKSRC}/bitmap/configure + +post-configure: +.for dir in appFrame appUtil bitmap ind libreg + cd ${WRKSRC}/${dir} && \ + ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} +.endfor do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin/Ted - ${MKDIR} ${AFMDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin + @${MKDIR} ${AFMDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/* ${AFMDIR} - ${MKDIR} ${INDDIR} - ${MKDIR} ${INFODIR} + @${MKDIR} ${INDDIR} + @${MKDIR} ${INFODIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/info/TedDocument.rtf ${INFODIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/info/Ted ${PREFIX}/lib/X11/app-defaults diff --git a/editors/ted/pkg-descr b/editors/ted/pkg-descr index 980eb5b..0dc6894 100644 --- a/editors/ted/pkg-descr +++ b/editors/ted/pkg-descr @@ -21,3 +21,5 @@ Features * Symbols and accented characters are fully supported. * Hyperlinks. * Saving a document in HTML format. + +WWW: http://www.nllgg.nl/Ted/ |