blob: 1fefa9829325778c303b0d583496789cbcb523ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: xtexsh
# Date created: 11 August 2001
# Whom: Jean-Sebastien Roy <js@jeannot.org>
#
# $FreeBSD$
#
PORTNAME= xtexsh
PORTVERSION= 1.4.2
PORTREVISION= 6
CATEGORIES= print
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
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
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|${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 ${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}
${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
.endif
.include <bsd.port.mk>
|