aboutsummaryrefslogtreecommitdiff
path: root/print/xtexsh
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-08-06 01:45:49 +0000
committerWen Heping <wen@FreeBSD.org>2011-08-06 01:45:49 +0000
commit15b5ee4ee52cad4ef5af5b12ca9fc1d63b0bddaf (patch)
tree4de792b15d8afab3f1a67137fdb3248adb3efb0a /print/xtexsh
parent60b14aa55c5705d114f7399139299a01b9a2da3e (diff)
downloadports-15b5ee4ee52cad4ef5af5b12ca9fc1d63b0bddaf.tar.gz
ports-15b5ee4ee52cad4ef5af5b12ca9fc1d63b0bddaf.zip
- Update MASTER_SITES and WWW
- Support USE_TK_WRAPPER - Support INSTALL_ICONS - Remove DEPRECATED lines PR: ports/159489 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=278985
Diffstat (limited to 'print/xtexsh')
-rw-r--r--print/xtexsh/Makefile48
-rw-r--r--print/xtexsh/pkg-plist16
2 files changed, 39 insertions, 25 deletions
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile
index 38f67aaefb6e..4889beee4e0c 100644
--- a/print/xtexsh/Makefile
+++ b/print/xtexsh/Makefile
@@ -7,40 +7,48 @@
PORTNAME= xtexsh
PORTVERSION= 1.4.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
-MASTER_SITES= ftp://ftp.mat.univie.ac.at/pub/teschl/xtexsh/
-DISTNAME= ${PORTNAME}-1.4-2
+MASTER_SITES= http://www.mat.univie.ac.at/~gerald/ftp/xtexsh/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tcl/Tk-based simple TeX interface
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2011-09-01
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-BROKEN= Does not fetch
-
-RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX \
- wish8.4:${PORTSDIR}/x11-toolkits/tk84
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-1.4
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
NO_BUILD= yes
+
+USE_TK_WRAPPER= yes
+INSTALLS_ICONS= yes
MAN1= xtexsh.1
MANCOMPRESSED= yes
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/bin/wish,${PREFIX}/bin/wish8.4,; \
- s,/etc,${PREFIX}/etc,; s,bash,sh,' ${WRKSRC}/xtexsh
+ @${REINPLACE_CMD} -e \
+ 's|/usr/bin|${LOCALBASE}/bin|g ; \
+ s|"/etc|"${PREFIX}/etc| ; \
+ s|exec bash|exec sh|' ${WRKSRC}/xtexsh
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/xtexsh ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/xtexsh.1.gz ${PREFIX}/man/man1
- @${INSTALL_DATA} ${WRKSRC}/xtexshrc ${PREFIX}/etc/xtexshrc
- @${MKDIR} ${PREFIX}/share/xtexsh
-.for f in xtexsh-mini.png xtexsh.png xtexsh.desktop xtexsh.spec
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/xtexsh ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xtexsh.1.gz ${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/xtexshrc ${PREFIX}/etc
+ @${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/xtexsh.desktop ${PREFIX}/share/applications
+ @${MKDIR} ${PREFIX}/share/icons/locolor/16x16/apps
+ ${INSTALL_DATA} ${WRKSRC}/xtexsh-mini.png \
+ ${PREFIX}/share/icons/locolor/16x16/apps/xtexsh.png
+ @${MKDIR} ${PREFIX}/share/icons/locolor/32x32/apps
+ ${INSTALL_DATA} ${WRKSRC}/xtexsh.png \
+ ${PREFIX}/share/icons/locolor/32x32/apps/xtexsh.png
+ @${MKDIR} ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/xtexsh.png ${PREFIX}/share/pixmaps
+
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/print/xtexsh/pkg-plist b/print/xtexsh/pkg-plist
index 1b2a7e434427..fdc2d43d124a 100644
--- a/print/xtexsh/pkg-plist
+++ b/print/xtexsh/pkg-plist
@@ -2,9 +2,15 @@ bin/xtexsh
etc/xtexshrc
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%DATADIR%%/xtexsh-mini.png
-%%DATADIR%%/xtexsh.desktop
-%%DATADIR%%/xtexsh.png
-%%DATADIR%%/xtexsh.spec
-@dirrm %%DATADIR%%
+share/applications/xtexsh.desktop
+share/icons/locolor/16x16/apps/xtexsh.png
+share/icons/locolor/32x32/apps/xtexsh.png
+share/pixmaps/xtexsh.png
+@dirrmtry share/icons/locolor/32x32/apps
+@dirrmtry share/icons/locolor/32x32
+@dirrmtry share/icons/locolor/16x16/apps
+@dirrmtry share/icons/locolor/16x16
+@dirrmtry share/icons/locolor
+@dirrmtry share/icons
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications