diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-29 23:35:25 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-29 23:35:25 +0000 |
commit | daee4387860c0730a8c806b87842bbe04852d3ca (patch) | |
tree | c42fe6198631db64384ed4e35e6718b82b9667e5 /editors | |
parent | b7119990b01a4e0b401c6a70947fe36790c8152e (diff) | |
download | ports-daee4387860c0730a8c806b87842bbe04852d3ca.tar.gz ports-daee4387860c0730a8c806b87842bbe04852d3ca.zip |
Notes
Diffstat (limited to 'editors')
-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 b39283c41eef..2d3d635187e8 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 000000000000..126cf6a0306e --- /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 |