diff options
author | wen <wen@FreeBSD.org> | 2011-08-06 09:45:49 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2011-08-06 09:45:49 +0800 |
commit | 2af14491e6294279c5a62e3860bd0a3407686968 (patch) | |
tree | 9510b8c335f88e5afe694657e928ce6b210a2721 | |
parent | 01b60869b3a18b9f8dcb45eeaa5cc07cb6ec2fe6 (diff) | |
download | freebsd-ports-gnome-2af14491e6294279c5a62e3860bd0a3407686968.tar.gz freebsd-ports-gnome-2af14491e6294279c5a62e3860bd0a3407686968.tar.zst freebsd-ports-gnome-2af14491e6294279c5a62e3860bd0a3407686968.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>
-rw-r--r-- | print/xtexsh/Makefile | 48 | ||||
-rw-r--r-- | print/xtexsh/pkg-plist | 16 |
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 |