summaryrefslogtreecommitdiff
path: root/editors/ted
diff options
context:
space:
mode:
Diffstat (limited to 'editors/ted')
-rw-r--r--editors/ted/Makefile35
-rw-r--r--editors/ted/pkg-plist3
2 files changed, 19 insertions, 19 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile
index 862d43853177..d44f9710d2cd 100644
--- a/editors/ted/Makefile
+++ b/editors/ted/Makefile
@@ -13,10 +13,10 @@ COMMENT= X11 based RTF editor
LICENSE= GPLv2
-LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \
- png15:${PORTSDIR}/graphics/png \
- tiff:${PORTSDIR}/graphics/tiff \
- paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libpaper.so:${PORTSDIR}/print/libpaper
RUN_DEPENDS= gsfonts>0:${PORTSDIR}/print/gsfonts
OPTIONS_DEFINE= GTK2 DOCS
@@ -35,15 +35,12 @@ MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\""
ALL_TARGET= compile.shared
-MAN1= Ted.1 rtf2pdf.1 rtf2ps.1
-
DATADIR= ${PREFIX}/share/Ted
DOCSDIR= ${PREFIX}/share/doc/Ted
AFMDIR= ${DATADIR}/afm
INDDIR= ${DATADIR}/dfa
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
@@ -68,19 +65,19 @@ post-patch:
s|/iconv.so|/libiconv.so|g'
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${MANPREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${DATADIR}
- @${MKDIR} ${AFMDIR}
- ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${AFMDIR}
- @${MKDIR} ${INDDIR}
- ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${INDDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${AFMDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${STAGEDIR}${AFMDIR}
+ @${MKDIR} ${STAGEDIR}${INDDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${STAGEDIR}${INDDIR}
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/editors/ted/pkg-plist b/editors/ted/pkg-plist
index c362d5b9455e..1de89784398e 100644
--- a/editors/ted/pkg-plist
+++ b/editors/ted/pkg-plist
@@ -4,6 +4,9 @@ bin/rtf2html.sh
bin/rtf2pdf.sh
bin/rtf2ps.sh
bin/rtf2txt.sh
+man/man1/Ted.1.gz
+man/man1/rtf2pdf.1.gz
+man/man1/rtf2ps.1.gz
%%DATADIR%%/afm/AvantGarde-Book.afm
%%DATADIR%%/afm/AvantGarde-BookOblique.afm
%%DATADIR%%/afm/AvantGarde-Demi.afm