aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-28 20:08:28 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-28 20:08:28 +0000
commitf4598ac673ff5ad131dda3c15b0d340c1dc65fc8 (patch)
tree566081331d831f7dcd330102fb5d1d17c4480a86
parentebd588450dfa1905213c5bdae825bed130513d8e (diff)
downloadports-f4598ac673ff5ad131dda3c15b0d340c1dc65fc8.tar.gz
ports-f4598ac673ff5ad131dda3c15b0d340c1dc65fc8.zip
- s/PREFIX/LOCALBASE/ in DEPENDS
- install docs in default DOCSDIR and fix plist for -DNOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Notes
Notes: svn path=/head/; revision=215896
-rw-r--r--korean/eterm/Makefile18
-rw-r--r--korean/eterm/pkg-plist12
2 files changed, 16 insertions, 14 deletions
diff --git a/korean/eterm/Makefile b/korean/eterm/Makefile
index 62d0c4a5e33c..c74627db2422 100644
--- a/korean/eterm/Makefile
+++ b/korean/eterm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eterm
PORTVERSION= 0.8.9
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= korean x11
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/ \
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
@@ -16,7 +16,7 @@ DISTNAME= Eterm-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 terminal emulator based on rxvt/xterm that supports korean
-RUN_DEPENDS= ${PREFIX}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts
+RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
@@ -34,12 +34,14 @@ pre-patch:
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/FAQ.html ${PREFIX}/share/doc/Eterm
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes \
+ ${WRKSRC}/doc/Eterm_reference.html \
+ ${WRKSRC}/doc/Eterm_reference.html \
+ ${WRKSRC}/doc/Eterm.tcap \
+ ${WRKSRC}/doc/Eterm.ti \
+ ${WRKSRC}/doc/FAQ.html \
+ ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/korean/eterm/pkg-plist b/korean/eterm/pkg-plist
index 1ca843f95fb2..8a6fbbd508e1 100644
--- a/korean/eterm/pkg-plist
+++ b/korean/eterm/pkg-plist
@@ -49,11 +49,11 @@ share/Eterm/themes/trans/MAIN
share/Eterm/themes/trans/MAIN.in.orig
share/Eterm/themes/trans/trans.menu
share/Eterm/themes/trans/pixmaps.list
-share/doc/Eterm/Eterm_reference.html
-share/doc/Eterm/Eterm.tcap
-share/doc/Eterm/Eterm.ti
-share/doc/Eterm/FAQ.html
-share/doc/Eterm/ReleaseNotes
+%%PORTDOCS%%%%DOCSDIR%%/Eterm_reference.html
+%%PORTDOCS%%%%DOCSDIR%%/Eterm.tcap
+%%PORTDOCS%%%%DOCSDIR%%/Eterm.ti
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes
@dirrm share/Eterm/themes/trans
@dirrm share/Eterm/themes/tn3270
@dirrm share/Eterm/themes/mutt
@@ -64,4 +64,4 @@ share/doc/Eterm/ReleaseNotes
@dirrm share/Eterm/themes
@dirrm share/Eterm/pix
@dirrm share/Eterm
-@dirrm share/doc/Eterm
+%%PORTDOCS%%@dirrm %%DOCSDIR%%