diff options
author | will <will@FreeBSD.org> | 2004-06-10 11:51:15 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2004-06-10 11:51:15 +0800 |
commit | 99990469443030521393a115c77623a4ed81c4e4 (patch) | |
tree | 0a3f14869ab6801f48815431293ba3785240d1ee | |
parent | 6a85befe48e79ab44108be04d2fc17ef865f61c3 (diff) | |
download | freebsd-ports-gnome-99990469443030521393a115c77623a4ed81c4e4.tar.gz freebsd-ports-gnome-99990469443030521393a115c77623a4ed81c4e4.tar.zst freebsd-ports-gnome-99990469443030521393a115c77623a4ed81c4e4.zip |
Update gsfonts dependency. Use DOCSDIR instead of port-specific INFODIR.
Use PORTDOCS.
PR: 67736
Submitted by: MAINTAINER
-rw-r--r-- | editors/ted/Makefile | 12 | ||||
-rw-r--r-- | editors/ted/pkg-plist | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile index dfd87d49d02b..70a07660069b 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -18,7 +18,7 @@ COMMENT= X11 based RTF editor LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff -RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/Fontmap:${PORTSDIR}/print/gsfonts +RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/COPYING:${PORTSDIR}/print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} CONFIGURE_WRKSRC= ${WRKSRC}/Ted @@ -31,12 +31,11 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \ - DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${INFODIR}/\\\"\"" + DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" ALL_TARGET= compile.shared AFMDIR= ${PREFIX}/share/Ted/afm INDDIR= ${PREFIX}/share/Ted/ind -INFODIR= ${PREFIX}/share/doc/Ted post-extract: cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar @@ -59,7 +58,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/* ${AFMDIR} @${MKDIR} ${INDDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/ind/US_English.ind ${INDDIR} - @${MKDIR} ${INFODIR} - ${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${INFODIR} +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/editors/ted/pkg-plist b/editors/ted/pkg-plist index 4bf501d861b4..a9fbb80c8fce 100644 --- a/editors/ted/pkg-plist +++ b/editors/ted/pkg-plist @@ -13,8 +13,8 @@ share/Ted/afm/Times-BoldItalic.afm share/Ted/afm/Times-Italic.afm share/Ted/afm/Times-Roman.afm share/Ted/ind/US_English.ind -share/doc/Ted/TedDocument-en_US.rtf -@dirrm share/doc/Ted +%%PORTDOCS%%%%DOCSDIR%%/TedDocument-en_US.rtf +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/Ted/ind @dirrm share/Ted/afm @dirrm share/Ted |