diff options
author | edwin <edwin@FreeBSD.org> | 2005-11-29 23:35:25 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-11-29 23:35:25 +0000 |
commit | c893246a9095a69825a00c9a21fa40a4062b6409 (patch) | |
tree | f6512f6a7dc2b5cd7842c6ad060af99a806bc892 /editors/ted | |
parent | 8f295ffa34a37dc15c60a7d747ba2e4bef718661 (diff) | |
download | FreeBSD-ports-c893246a9095a69825a00c9a21fa40a4062b6409.zip FreeBSD-ports-c893246a9095a69825a00c9a21fa40a4062b6409.tar.gz |
editors/ted - Fix LOCALBASE/X11BASE settings
Fix port so that it respects LOCALBASE/X11BASE settings.
PR: ports/89602
Submitted by: Jonathan <jdrews@cybox.com>
Approved by: Jon Drews <jon.drews@gmail.com>
Diffstat (limited to 'editors/ted')
-rw-r--r-- | editors/ted/Makefile | 9 | ||||
-rw-r--r-- | editors/ted/files/configure | 11 |
2 files changed, 16 insertions, 4 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile index b39283c..2d3d635 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -19,16 +19,14 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} -CONFIGURE_WRKSRC= ${WRKSRC}/Ted USE_X_PREFIX= yes USE_MOTIF= yes USE_REINPLACE= yes +USE_GHOSTSCRIPT_RUN= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" -MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \ +MAKE_ENV+= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \ DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" ALL_TARGET= compile.shared @@ -38,7 +36,10 @@ INDDIR= ${PREFIX}/share/Ted/ind post-extract: cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar + post-patch: + ${CP} -p ${FILESDIR}/configure ${WRKSRC}/configure + ${CHMOD} +x ${WRKSRC}/configure ${REINPLACE_CMD} \ 's|DEF_PKGDIR|DEF_DOCUMENT_DIR|g' ${WRKSRC}/Ted/makefile.in diff --git a/editors/ted/files/configure b/editors/ted/files/configure new file mode 100644 index 0000000..126cf6a --- /dev/null +++ b/editors/ted/files/configure @@ -0,0 +1,11 @@ +@ -0,0 +1,10 @@ +#!/bin/sh + +dirs="Ted appFrame appUtil bitmap ind libreg tedPackage" + +for d in $dirs; do + (cd $d && ./configure $*) + if [ $? != 0 ]; then + exit $? + fi +done |