Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tkdiff |
4 |
PORTNAME= tkdiff |
5 |
PORTVERSION= 4.2 |
5 |
PORTVERSION= 4.3 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= textproc tk |
6 |
CATEGORIES= textproc tk |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF https://bsdforge.com/projects/source/textproc/tkdiff/:ikon |
|
|
8 |
DISTFILES= ${PORTNAME}-4-3.zip tkicons.txz:ikon |
9 |
|
9 |
|
10 |
MAINTAINER= portmaster@BSDforge.com |
10 |
MAINTAINER= portmaster@BSDforge.com |
11 |
COMMENT= Tk frontend for diff(1) |
11 |
COMMENT= Tk frontend for diff(1) |
Lines 13-23
Link Here
|
13 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
15 |
|
15 |
|
16 |
BUILD_DEPENDS= base64>0:converters/base64 |
16 |
WRKSRC= ${WRKDIR}/${PORTNAME}-4-3 |
17 |
|
17 |
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-unix |
18 |
USES= tar:txz tk:wrapper |
19 |
|
|
|
20 |
USES= tk:wrapper |
21 |
NO_BUILD= yes |
19 |
NO_BUILD= yes |
22 |
|
20 |
|
23 |
DESKTOP_ENTRIES= "Tkdiff" "Tk frontend for the diff command" \ |
21 |
DESKTOP_ENTRIES= "Tkdiff" "Tk frontend for the diff command" \ |
Lines 25-34
Link Here
|
25 |
"tkdiff" "GNOME;GTK;Development;System;" \ |
23 |
"tkdiff" "GNOME;GTK;Development;System;" \ |
26 |
false |
24 |
false |
27 |
|
25 |
|
28 |
UNPACK= base64 -d |
26 |
IKONS= ${WRKSRC}/tkdiff-256.png ${WRKSRC}/tkdiff-128.png \ |
|
|
27 |
${WRKSRC}/tkdiff-64.png ${WRKSRC}/tkdiff.png |
29 |
|
28 |
|
30 |
PLIST_FILES= bin/tkdiff share/pixmaps/tkdiff.png share/pixmaps/tkdiff-256.png \ |
29 |
PLIST_FILES= bin/tkdiff share/pixmaps/tkdiff-256.png \ |
31 |
share/pixmaps/tkdiff-128.png share/pixmaps/tkdiff-64.png |
30 |
share/pixmaps/tkdiff-128.png share/pixmaps/tkdiff-64.png \ |
|
|
31 |
share/pixmaps/tkdiff.png |
32 |
|
32 |
|
33 |
post-patch: |
33 |
post-patch: |
34 |
${FIND} ${WRKSRC} -type f | ${XARGS} \ |
34 |
${FIND} ${WRKSRC} -type f | ${XARGS} \ |
Lines 36-44
Link Here
|
36 |
|
36 |
|
37 |
do-install: |
37 |
do-install: |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/tkdiff ${STAGEDIR}${PREFIX}/bin |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/tkdiff ${STAGEDIR}${PREFIX}/bin |
39 |
${UNPACK} ${FILESDIR}/icon256.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-256.png |
39 |
${INSTALL_DATA} ${IKONS} ${STAGEDIR}${PREFIX}/share/pixmaps/ |
40 |
${UNPACK} ${FILESDIR}/icon128.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-128.png |
|
|
41 |
${UNPACK} ${FILESDIR}/icon64.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-64.png |
42 |
${UNPACK} ${FILESDIR}/icon32.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff.png |
43 |
|
40 |
|
44 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |